fix(union-type): fix union type overridden by default-props type

This commit is contained in:
unix
2020-04-11 20:52:33 +08:00
parent 0312e8c126
commit d1b1d41fda
16 changed files with 36 additions and 29 deletions

View File

@@ -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: '',