UNPKG

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