A button component for vue.
import { Button as VcButton, ButtonGroup as VcButtonGroup } from '@dove-ui/button'
import '@dove-ui/button/dist/index.css'
<vc-button>Button</vc-button>
<vc-button-group>
<vc-button>Button</vc-button>
<vc-button>Button</vc-button>
</vc-button-group>
Attribute | Description | Type | Accepted Values | Default |
---|---|---|---|---|
type | type | string | default ,info ,primary ,warning ,danger ,success ,text |
default |
size | size | string | large ,medium ,samll ,mini |
— |
plain | plain | boolean | — | false |
round | round | boolean | — | false |
disabled | disabled | boolean | — | false |
block | block | boolean | — | false |
loading | loading state | boolean | — | false |
native-type | native type | string | button / submit / reset |
button |