mirror of
https://github.com/element-plus/element-plus.git
synced 2024-12-27 03:01:14 +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
|