ant-design/components/_util/colors.ts
zombieJ 75cd91a966
Badge support customize color (#15764)
* popout

* update snapshot

* update doc

* update def
2019-03-31 20:21:20 +08:00

19 lines
272 B
TypeScript

import { tuple } from './type';
export const PresetColorTypes = tuple(
'pink',
'red',
'yellow',
'orange',
'cyan',
'green',
'blue',
'purple',
'geekblue',
'magenta',
'volcano',
'gold',
'lime'
);
export type PresetColorType = (typeof PresetColorTypes)[number];