UNPKG

dify-components

Version:

This is a modern component library template based on Turborepo+Vue 3.5+TypeScript.

19 lines (12 loc) 808 B
# Button Basic button component. ## Basic Usage <demo vue="ui/button/basic.vue" /> ## API ### Props | Property | Description | Type | Default | | -------- | ------------------------------ | --------------------------------------------------------- | -------- | | type | Button type | 'primary' \| 'success' \| 'warning' \| 'danger' \| 'info' | '' | | size | Button size | 'small' \| 'medium' \| 'large' | 'medium' | | disabled | Whether to disable the button | boolean | false | | round | Whether to use rounded corners | boolean | false |