UNPKG

585 BTypeScriptView Raw
1import React from 'react';
2export type TagProps = {
3 color: string;
4 check: boolean;
5 className?: string;
6 onClick?: () => void;
7};
8export type ThemeColorProps = {
9 colorList?: {
10 key: string;
11 color: string;
12 title?: string;
13 }[];
14 prefixCls: string;
15 value: string;
16 onChange: (color: string) => void;
17 formatMessage: (data: {
18 id: any;
19 defaultMessage?: string;
20 }) => string;
21 hashId: string;
22};
23declare const ThemeColor: React.ForwardRefRenderFunction<HTMLDivElement, ThemeColorProps>;
24export { ThemeColor };