antdesign-ui
v1.0.9
Published
升级antd 基于 antdesign 扩展更便捷的组件, 也有无依赖的组件。 基于替换ExtJs系统。 现代的EPR系统。 虚拟列表
Downloads
65
Maintainers
Readme
antdesign-ui
Rewrite an extjs project with antd.
Some antd components have been extended, and there are also independent components that do not depend on antd.
Encapsulates some frequently used hooks
✨ Features
升级 table 滚动条
VirtualTable :
- column sort
- column sort mutiple
- column resize
- column ellipsis // default is true
- column resize callback
- large data performance
VirtualSelect
- large options
Button
like extjs style button
hooks
- usePrevious
- useUpdateEffect
- useDebounce
- useScrollbarWidth
use
import { useDebounce } from 'antdesign-ui/lib/hooks'📦 Install
npm i antdesign-ui
yarn add antdesign-ui
🔨 Usage
import { VirtualTable } from "antdesign-ui";
const App = () => (
<>
<VirtualTable height={200} dataSource={dataSource} columns={columns} />
</>
);And import style manually:
import "antdesign-ui/lib/virtual-table/style.css"Continuously update new components
更新日志
log.md 文件
v1.0.9
- 修复滚动 bug
- 默认内置提供设置按钮
SettingButton - 支持覆盖设置按钮
drawerSettingElement
