mirror of
https://github.com/zhigang1992/react.git
synced 2026-04-28 12:15:32 +08:00
fix(union-type): fix union type overridden by default-props type
This commit is contained in:
@@ -35,8 +35,8 @@ const defaultProps = {
|
||||
readOnly: false,
|
||||
clearable: false,
|
||||
width: 'initial',
|
||||
size: 'medium',
|
||||
status: 'default',
|
||||
size: 'medium' as NormalSizes,
|
||||
status: 'default' as NormalTypes,
|
||||
autoComplete: 'off',
|
||||
className: '',
|
||||
placeholder: '',
|
||||
|
||||
Reference in New Issue
Block a user