Files
element-plus/packages/constants/column-alignment.ts
知晓同丶 73150c1214 refactor(components): improve alignment type definitions (#20695)
* 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
2025-05-20 17:30:54 +08:00

4 lines
130 B
TypeScript

export const columnAlignment = ['left', 'center', 'right'] as const
export type ColumnAlignment = typeof columnAlignment[number]