mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-15 18:01:24 +08:00
10 lines
219 B
TypeScript
10 lines
219 B
TypeScript
export const componentSizes = ['', 'default', 'small', 'large'] as const
|
|
|
|
export type ComponentSize = typeof componentSizes[number]
|
|
|
|
export const componentSizeMap = {
|
|
large: 40,
|
|
default: 32,
|
|
small: 24,
|
|
} as const
|