mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-12-02 12:07:54 +08:00
fix(switch): add some missing types (#3994)
* fix: add some missing types * update
This commit is contained in:
parent
ea8c694cb1
commit
41657eacef
@ -31,6 +31,11 @@ const switchProps = {
|
||||
autofocus: PropTypes.looseBool,
|
||||
loading: PropTypes.looseBool,
|
||||
checked: PropTypes.looseBool,
|
||||
onChange: PropTypes.func,
|
||||
onClick: PropTypes.func,
|
||||
onKeydown: PropTypes.func,
|
||||
onMouseup: PropTypes.func,
|
||||
'onUpdate:checked': PropTypes.func
|
||||
};
|
||||
|
||||
export type SwitchProps = Partial<ExtractPropTypes<typeof switchProps>>;
|
||||
|
Loading…
Reference in New Issue
Block a user