mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +08:00
fix(hooks): component size (#5402)
This commit is contained in:
@@ -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({
|
||||
|
||||
@@ -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 = (
|
||||
|
||||
Reference in New Issue
Block a user