antd
Version:
An enterprise-class UI design language and React components implementation
13 lines (12 loc) • 466 B
TypeScript
import type { FC } from 'react';
import type { AggregationColor } from '../color';
import type { PresetsItem } from '../interface';
interface ColorPresetsProps {
prefixCls: string;
presets: PresetsItem[];
value?: AggregationColor;
onChange?: (value: AggregationColor) => void;
}
export declare const isBright: (value: AggregationColor, bgColorToken: string) => boolean;
declare const ColorPresets: FC<ColorPresetsProps>;
export default ColorPresets;