|
|
@ -15,8 +15,8 @@ export default { |
|
|
|
props: { |
|
|
|
props: { |
|
|
|
...switchPropTypes, |
|
|
|
...switchPropTypes, |
|
|
|
prefixCls: switchPropTypes.prefixCls.def('rc-switch'), |
|
|
|
prefixCls: switchPropTypes.prefixCls.def('rc-switch'), |
|
|
|
checkedChildren: switchPropTypes.checkedChildren.def(null), |
|
|
|
checkedChildren: switchPropTypes.checkedChildren, |
|
|
|
unCheckedChildren: switchPropTypes.unCheckedChildren.def(null), |
|
|
|
unCheckedChildren: switchPropTypes.unCheckedChildren, |
|
|
|
defaultChecked: switchPropTypes.defaultChecked.def(''), |
|
|
|
defaultChecked: switchPropTypes.defaultChecked.def(''), |
|
|
|
// onChange: switchPropTypes.onChange.def(noop), |
|
|
|
// onChange: switchPropTypes.onChange.def(noop), |
|
|
|
// onClick: switchPropTypes.onClick.def(noop), |
|
|
|
// onClick: switchPropTypes.onClick.def(noop), |
|
|
|