General purpose Button
- large
- normal
- standard
- warning
- success
- danger
- grey
- custom
$ npm install @time-with/button
or
$ yarn add @time-with/button
import Button from '@time-with/button';
<Button
icon='arrow-right'
onClick={this.handleClick}
buttonSize='large'
label='View Profile'
/>
Type: String
Default: standard
Type: String
Default: ''
Type: String
Default: null
Type: String
Default: right
Type: String
Default: normal
Type: Boolean
Default: false
Type: String
Default: #7D7B7B
Type: Number/String
Default: 0px
Type: Number/String
Default: 0px
Type: String
Default: 1px
Type: String
Default: solid
Type: String
Default: @time-with/colors: grey_medium
Type: Boolean
Default: false
Type: String
Default: @time-with/colors: orange
Type: String
Default: white
Type: String
Default: #e87656
Type: String
Default: white
Type: Number/String
Default: 50px
Type: Function
Default: null
Type: Glamor keyframes object
Default: null
Type: String
Default: 5s
Type: Boolean
Default: false
MIT