加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

Amiya

通过对 antd 的表格、表单、按钮等组件的二次封装,在保留原有功能的情况下,对其进行封装简化使用,用起来更方便。

阿米娅对比

只需要 30% 左右的代码就可以实现带有增删改查的表格,且比 antd 原本功能更加丰富。

阿米娅表格

阿米娅表单

📖 文档

文档地址:https://viewweiwu.github.io/amiya/

国内地址:https://minisunflower.vip/amiya/

🎉 特性

  1. 表格“小购物车”,可以跨页批量操作,如跨页批量删除。
  2. 表格自带工具栏,可以全屏,刷新,设置别名。
  3. 表格顶部查询区域可以根据分辨率改变大小。
  4. 表单只带只读模式。
  5. 表单只带弹窗模式。
  6. 表单可以和表格共享一个配置。
  7. 可全局扩展表单项类型,表格列类型。

📦 安装

需要提前安装 antd v4。

npm install amiya -S

🗝 使用

import { AyButton } from 'amiya'

export default function Demo() {
  return <AyButton>amiya</AyButton>
}
MIT License Copyright (c) 2020 viewweiwu Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

基于 antd 一套扩展组件库,类似于 ProComponent 展开 收起
JavaScript 等 3 种语言
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化