mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-11-30 02:59:04 +08:00
3ddc3a267a
* feat: Tag add status props * feat: change solution for status tag * fix: fix coding specification issues * fix coding specification issues in demo
23 lines
522 B
TypeScript
23 lines
522 B
TypeScript
import { tuple } from './type';
|
|
|
|
export const PresetStatusColorTypes = tuple('success', 'processing', 'error', 'default', 'warning');
|
|
// eslint-disable-next-line import/prefer-default-export
|
|
export const PresetColorTypes = tuple(
|
|
'pink',
|
|
'red',
|
|
'yellow',
|
|
'orange',
|
|
'cyan',
|
|
'green',
|
|
'blue',
|
|
'purple',
|
|
'geekblue',
|
|
'magenta',
|
|
'volcano',
|
|
'gold',
|
|
'lime',
|
|
);
|
|
|
|
export type PresetColorType = (typeof PresetColorTypes)[number];
|
|
export type PresetStatusColorType = (typeof PresetStatusColorTypes)[number];
|