README
uxcore-title
React title
Development
git clone https://github.com/uxcore/uxcore-title
cd uxcore-title
npm install
npm run server
if you'd like to save your install time,you can use uxcore-tools globally.
npm install uxcore-tools -g
git clone https://github.com/uxcore/uxcore-title
cd uxcore-title
npm install
npm run dep
npm run start
Test Case
npm run test
Coverage
npm run coverage
Demo
http://uxcore.github.io/components/title
Contribute
Yes please! See the CONTRIBUTING for details.
API
Props
Name | Type | Required | Default | Comments |
---|---|---|---|---|
className | string | no | 额外顶级类名 | |
prefixCls | string | no | kuma-title | 类名前缀,不想使用 kuma 主题时使用 |
type | string | no | primary | 类型,枚举值 primary , secondary , thirdary |