README
uxcore-empty-data
React empty data
Development
git clone https://github.com/uxcore/uxcore-empty-data
cd uxcore-empty-data
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-empty-data
cd uxcore-empty-data
npm install
npm run dep
npm run start
Test Case
npm run test
Coverage
npm run coverage
Demo
http://uxcore.github.io/components/empty-data
Contribute
Yes please! See the CONTRIBUTING for details.
API
Props
| Name | Type | Required | Default | Comments |
|---|---|---|---|---|
| children | jsx | optional | 暂无数据 | 内容 |
| icon | string | optional | - | 默认的图标 |
| largeIcon | string | optional | - | 默认的大图标 |
| style | object | optional | - | root 节点的样式 |
| prefixCls | string | optional | kuma-empty-data | 类名前缀,不想使用 kuma 主题时使用 |
| className | string | oprional | - | root 节点的额外类名,用于定制 |