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.
17 lines
547 B
17 lines
547 B
import PropTypes from '../_util/vue-types';
|
|
|
|
export const switchPropTypes = {
|
|
prefixCls: PropTypes.string,
|
|
disabled: PropTypes.looseBool.def(false),
|
|
checkedChildren: PropTypes.any,
|
|
unCheckedChildren: PropTypes.any,
|
|
// onChange: PropTypes.func,
|
|
// onMouseUp: PropTypes.func,
|
|
// onClick: PropTypes.func,
|
|
tabindex: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
checked: PropTypes.looseBool,
|
|
defaultChecked: PropTypes.looseBool.def(false),
|
|
autofocus: PropTypes.looseBool.def(false),
|
|
loadingIcon: PropTypes.any,
|
|
};
|