ant-design-vue/components/vc-switch/PropTypes.js

17 lines
495 B
JavaScript
Raw Normal View History

2018-02-27 12:14:29 +08:00
import PropTypes from '../_util/vue-types'
export const switchPropTypes = {
prefixCls: PropTypes.string,
disabled: PropTypes.bool.def(false),
checkedChildren: PropTypes.any,
unCheckedChildren: PropTypes.any,
// onChange: PropTypes.func,
// onMouseUp: PropTypes.func,
// onClick: PropTypes.func,
tabIndex: PropTypes.number,
checked: PropTypes.bool.def(false),
defaultChecked: PropTypes.bool.def(false),
autoFocus: PropTypes.bool.def(false),
2018-10-31 19:28:53 +08:00
loadingIcon: PropTypes.any,
2018-02-27 12:14:29 +08:00
}