UNPKG

tdesign-vue-next

Version:
20 lines (19 loc) 519 B
import { TdColorPickerProps } from '../../type'; export interface FormatInput { key: string; type: 'input'; flex?: number; } export interface FormatInputNumber { key: string; min: number; max: number; type: 'inputNumber'; flex?: number; format?: Function; } export type FormatInputsConfig = { [propName in TdColorPickerProps['format']]?: Array<FormatInput | FormatInputNumber>; }; export declare const FORMAT_INPUT_CONFIG: FormatInputsConfig; export default FORMAT_INPUT_CONFIG;