README
@eb/antd
A react components library based on antd
Usage
Change (antd) | To (@eb/antd) | |
---|---|---|
Components | import { xx } from 'antd' |
import { xx } from '@eb/antd' |
Types | import { ColumnsType } from 'antd/es/table' |
import { ColumnsType } from '@eb/antd/es/table' |
Note: do NOT import css files if your projects are implemented by fe-base
, the fe-base
project will handle all the css styles, including the custimized changes
Tips
- The
@eb/antd
library will follow semver based onantd
- You should always import components from
@eb/antd
instead ofantd
, if you really need a new version ofantd
which has breaking changes than that in@eb/antd
, you need to install@eb/styles
and build less files in your project, but this may cause issues