fix(button): update prop 'size' type assertions to IButtonSize

fix(button): update prop 'size' type assertions to IButtonSize #420
This commit is contained in:
James Zhang
2020-10-16 10:26:56 +08:00
committed by GitHub
parent 8786faf73f
commit c396449ad3

View File

@@ -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)
},