tidb-community-ui
/
1.2.2
tidb-community-ui 1.2.2
Install from the command line:
Learn more about npm packages
$ npm install @pingcap-inc/tidb-community-ui@1.2.2
Install via package.json:
"@pingcap-inc/tidb-community-ui": "1.2.2"
About this version
import { Button } from 'antd'
// use @pingcap-inc/tidb-community-ui compiled css file instead of antd's.
import '@pingcap-inc/tidb-community-ui/antd.css'
render(<Button>Button</Button>)
import { colors } from '@pingcap-inc/tidb-community-ui'
const brandColor = colors.B4