Skip to content

wangyazhen/antdesign-ui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published