0.1.5 • Published 7 years ago

uxcore-card-container v0.1.5

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

uxcore-cardContainer

React cardContainer

NPM version build status Test Coverage Dependency Status devDependency Status NPM downloads

Sauce Test Status

Development

git clone https://github.com/uxcore/uxcore-cardContainer
cd uxcore-cardContainer
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-cardContainer
cd uxcore-cardContainer
npm install
npm run dep
npm run start

Test Case

npm run test

Coverage

npm run coverage

Demo

http://uxcore.github.io/components/cardContainer

Contribute

Yes please! See the CONTRIBUTING for details.

API

CardContainer Props

CardContainer下的每个子元素独占一行

参数说明类型默认值
className额外的样式名称String
padding卡片间距String'12px'
radius卡片圆角幅度String'0'
inRow是否为一行多列卡片Booleanfalse

CardContainer.CardRow Props

CardRow 下面的元素将并列在一行显示

参数说明类型默认值
className额外的样式名称String
proportion卡片之间的列宽度比较String'1'