mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-12-14 08:51:28 +08:00
6f903c3a75
* feat: update switch * fix: avoid bind attrs to root * test: update switch * docs: update switch breakchange * style: remove unused import Co-authored-by: tangjinzhou <415800467@qq.com>
17 lines
527 B
JavaScript
17 lines
527 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.oneOfType([PropTypes.string, PropTypes.number]),
|
|
checked: PropTypes.bool,
|
|
defaultChecked: PropTypes.bool.def(false),
|
|
autoFocus: PropTypes.bool.def(false),
|
|
loadingIcon: PropTypes.any,
|
|
};
|