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
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
- usePrevious
- useUpdateEffect
- useDebounce
- useScrollbarWidth
use
import { useDebounce } from 'antdesign-ui/lib/hooks'
npm i antdesign-ui
yarn add antdesign-ui
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