## Button ### Install ``` javascript import { Button } from 'vant'; Vue.use(Button); ``` ### Usage #### Type ```html Default Primary Danger ``` #### Size ```html Large Normal Small Mini ``` #### Disabled ```html Diabled ``` #### Loading ```html ``` #### Custom Tag Use `tag` prop to custom button tag ```html Button ``` #### Action Button ```html Button Button Button ``` ### API | Attribute | Description | Type | Default | Accepted Values | |-----------|-----------|-----------|-------------|-------------| | type | Type | `String` | `default` | `primary` `danger` | | size | Size | `String` | `normal` | `large` `small` `mini` | | tag | Tag | `String` | `button` | - | | native-type | Native Type Attribute | `String` | `''` | - | | diabled | Whether disable button | `Boolean` | `false` | - | | loading | Whether show loading status | `Boolean` | `false` | - | | block | Whether to set display block | `Boolean` | `false` | - | | bottom-action | Whether to be action button | `Boolean` | `false` | - |