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

17 lines
497 B
JavaScript
Raw Normal View History

2019-01-12 03:33:27 +00:00
import PropTypes from '../_util/vue-types';
2018-02-27 04:14:29 +00:00
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 11:28:53 +00:00
loadingIcon: PropTypes.any,
2019-01-12 03:33:27 +00:00
};