mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-04 13:08:41 +08:00
12543277b7
* type: remove tuple * type: remove tuple * type: remove tuple * fix * fix * fix type * fix type * fix type * fix type * fix type * Update ColorPicker.tsx * Update components/badge/utils.tsx Co-authored-by: MadCcc <1075746765@qq.com> * fix type * fix type * fix type * fix * fix * fix type * fix type * fix type * update snap * update snap Co-authored-by: MadCcc <1075746765@qq.com>
28 lines
451 B
TypeScript
28 lines
451 B
TypeScript
export const PresetStatusColorTypes = [
|
|
'success',
|
|
'processing',
|
|
'error',
|
|
'default',
|
|
'warning',
|
|
] as const;
|
|
|
|
export const PresetColorTypes = [
|
|
'pink',
|
|
'red',
|
|
'yellow',
|
|
'orange',
|
|
'cyan',
|
|
'green',
|
|
'blue',
|
|
'purple',
|
|
'geekblue',
|
|
'magenta',
|
|
'volcano',
|
|
'gold',
|
|
'lime',
|
|
] as const;
|
|
|
|
export type PresetColorType = typeof PresetColorTypes[number];
|
|
|
|
export type PresetStatusColorType = typeof PresetStatusColorTypes[number];
|