@yuntijs/ui
Version:
☁️ Yunti UI - an open-source UI component library for building Cloud Native web apps
12 lines (11 loc) • 458 B
TypeScript
import type { NamePath } from 'antd/es/form/interface';
export declare const FIELD_KEY_PATH = "__YUNTI_FORM_COLLAPSE_LIST_FIELD_KEY_PATH";
export type ListFieldValue<K extends string = 'children'> = {
[P in K]?: ListFieldValue[];
} & {
[key: string]: any;
[FIELD_KEY_PATH]: number[];
};
export type FieldPath = NamePath<any>;
export declare const toRowKey: (keyPath: number[]) => string;
export declare const TEXT_INPUT_COMPOENT_TYPES: string[];