mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-12-02 12:07:54 +08:00
23 lines
479 B
TypeScript
23 lines
479 B
TypeScript
import { ElementOf, tuple } from './type';
|
|
|
|
export const PresetStatusColorTypes = tuple('success', 'processing', 'error', 'default', 'warning');
|
|
|
|
export const PresetColorTypes = tuple(
|
|
'pink',
|
|
'red',
|
|
'yellow',
|
|
'orange',
|
|
'cyan',
|
|
'green',
|
|
'blue',
|
|
'purple',
|
|
'geekblue',
|
|
'magenta',
|
|
'volcano',
|
|
'gold',
|
|
'lime',
|
|
);
|
|
|
|
export type PresetColorType = ElementOf<typeof PresetColorTypes>;
|
|
export type PresetStatusColorType = ElementOf<typeof PresetStatusColorTypes>;
|