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