mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +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]
|