mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +08:00
fix(button): update prop 'size' type assertions to IButtonSize
fix(button): update prop 'size' type assertions to IButtonSize #420
This commit is contained in:
@@ -81,7 +81,7 @@ export default defineComponent({
|
||||
},
|
||||
},
|
||||
size: {
|
||||
type: String as IButtonType,
|
||||
type: String as IButtonSize,
|
||||
validator: (val: string) => {
|
||||
return ['medium', 'small', 'mini'].includes(val)
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user