@ant-design/pro-layout
Version:
25 lines (24 loc) • 585 B
TypeScript
import React from 'react';
export type TagProps = {
color: string;
check: boolean;
className?: string;
onClick?: () => void;
};
export type ThemeColorProps = {
colorList?: {
key: string;
color: string;
title?: string;
}[];
prefixCls: string;
value: string;
onChange: (color: string) => void;
formatMessage: (data: {
id: any;
defaultMessage?: string;
}) => string;
hashId: string;
};
declare const ThemeColor: React.ForwardRefRenderFunction<HTMLDivElement, ThemeColorProps>;
export { ThemeColor };