mirror of
https://github.com/element-plus/element-plus.git
synced 2025-08-14 10:00:58 +08:00

* refactor(components): improve alignment type definitions * fix: rename Alignment to Align * refactor: rename align to columnAlignment * fix: use values to perf types * fix: remove useless isValidColumnAlignment
4 lines
130 B
TypeScript
4 lines
130 B
TypeScript
export const columnAlignment = ['left', 'center', 'right'] as const
|
|
|
|
export type ColumnAlignment = typeof columnAlignment[number]
|