0.1.0 • Published 7 years ago
milkui-button v0.1.0
milkui-button
按钮
Overview
Example
import Button from 'milkui-button';
<Button size="large" type="default">default</Button>
<Button size="large" type="primary">primary</Button>
<Button size="large" type="danger">danger</Button>
<Button size="normal" type="default">default</Button>
<Button size="normal" type="primary">primary</Button>
<Button size="normal" type="danger">danger</Button>
<Button size="small" type="default">default</Button>
<Button size="small" type="primary">primary</Button>
<Button size="small" type="danger">danger</Button>
Properties
Property | Type | Description | Default | option |
---|---|---|---|---|
className | String | 自定义的 class 类名 | '' | |
type | String | 按钮类型 | 'default' | primary, danger |
size | String | 按钮大小 | 'large' | small, normal |
Develop
cnpm i milk-dev -g # dev tool
cnpm install
npm start
Links
0.1.0
7 years ago
0.1.0-beta.0
7 years ago