@ant-design/pro-field
Version:
原子信息组件,统一 ProForm、ProTable、ProList、Filter 等组件里面的字段定义。
13 lines (12 loc) • 551 B
TypeScript
import type { SketchPickerProps } from '@chenshuai2144/sketch-color';
import type { PopoverProps } from 'antd';
import React from 'react';
export declare const DEFAULT_COLORS: string[];
export declare const ColorPicker: React.ForwardRefExoticComponent<SketchPickerProps & {
value?: string | undefined;
popoverProps?: PopoverProps | undefined;
mode?: "read" | "edit" | undefined;
onChange?: ((color: string) => void) | undefined;
colors?: string[] | undefined;
disabled?: boolean | undefined;
} & React.RefAttributes<unknown>>;