Skip to content

Commit c5edaf9

Browse files
committed
Update README.md
1 parent dad876f commit c5edaf9

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

README.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,38 @@ import { Button } from './components/Buttons';
205205
</Button>
206206
```
207207

208+
## API
209+
210+
### Properties
211+
212+
#### Button
213+
214+
Name | Type | Default | Description
215+
:--- | :--- | :------ | :----------
216+
componentClass | Function or String | 'button' |
217+
type | One of:<br/>'button'<br/>'reset'<br/>'submit' | 'button' |
218+
btnSize | One of:<br/>'lg'<br/>'md'<br/>'sm'<br/>'xs'<br/>'large'<br/>'medium'<br/>'small'<br/>'extra-small' | 'md' |
219+
btnStyle | One of:<br/>'default'<br/>'primary'<br/>'danger'<br/>'emphasis'<br/>'border'<br/>'flat'<br/>'link'<br/> | 'default' |
220+
active | Boolean | false |
221+
hover | Boolean | false |
222+
focus | Boolean | flase |
223+
disabled | Boolean | flase |
224+
block | Boolean | false |
225+
compact | Boolean | false |
226+
227+
#### ButtonGroup
228+
229+
Name | Type | Default | Description
230+
:--- | :--- | :------ | :----------
231+
btnSize | One of:<br/>'lg'<br/>'md'<br/>'sm'<br/>'xs'<br/>'large'<br/>'medium'<br/>'small'<br/>'extra-small' | |
232+
btnStyle | One of:<br/>'default'<br/>'primary'<br/>'danger'<br/>'emphasis'<br/>'border'<br/>'flat'<br/>'link'<br/> | |
233+
vertical | Boolean | false |
234+
235+
#### ButtonToolbar
236+
237+
Name | Type | Default | Description
238+
:--- | :--- | :------ | :----------
239+
208240
## License
209241

210242
MIT

0 commit comments

Comments
 (0)