mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-12-15 17:31:43 +08:00
17 lines
497 B
JavaScript
17 lines
497 B
JavaScript
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,
|
|
};
|