tdesign-vue-next
Version:
TDesign Component for vue-next
20 lines (19 loc) • 519 B
TypeScript
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;