fix(hooks): component size (#5402)

This commit is contained in:
三咲智子
2022-01-17 17:20:26 +08:00
committed by GitHub
parent 3fabe492e9
commit 58c4040b45
2 changed files with 2 additions and 3 deletions

View File

@@ -13,7 +13,6 @@ export const buttonType = [
'text',
'',
] as const
export const buttonSize = ['', 'large', 'default', 'small'] as const
export const buttonNativeType = ['button', 'submit', 'reset'] as const
export const buttonProps = buildProps({

View File

@@ -8,8 +8,8 @@ import type { MaybeRef } from '@vueuse/core'
export const useSizeProp = buildProp({
type: String,
values: ['', ...componentSize],
default: '',
values: componentSize,
required: false,
} as const)
export const useSize = (