mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-12-03 12:37:42 +08:00
13 lines
557 B
JavaScript
13 lines
557 B
JavaScript
import PropTypes from '../_util/vue-types'
|
|
export default () => ({
|
|
prefixCls: PropTypes.string.def('ant-btn'),
|
|
type: PropTypes.oneOf(['primary', 'danger', 'dashed', 'ghost', 'default']).def('default'),
|
|
htmlType: PropTypes.oneOf(['button', 'submit', 'reset']).def('button'),
|
|
icon: PropTypes.string,
|
|
shape: PropTypes.oneOf(['circle', 'circle-outline']),
|
|
size: PropTypes.oneOf(['small', 'large', 'default']).def('default'),
|
|
loading: PropTypes.oneOfType([PropTypes.bool, PropTypes.object]),
|
|
disabled: PropTypes.bool,
|
|
ghost: PropTypes.bool,
|
|
})
|