mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-11-30 02:08:12 +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
|