You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ant-design-vue/components/vc-switch/PropTypes.js

17 lines
495 B

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),
loadingIcon: PropTypes.any,
}