ze-react-component-library
Version:
ZeroETP React Component Library
20 lines (19 loc) • 867 B
TypeScript
import { ProFormColumnsType, ProFormProps } from "@ant-design/pro-form";
import { FormSchema } from "@ant-design/pro-form/es/components/SchemaForm";
import { SchemaType } from "zeroetp-api-sdk";
export declare type ExtendValueTypes = "string" | "url" | "tag" | "percentage" | "object" | "boolean" | "file" | "table" | "checkboxGroup" | "json" | "rule";
export declare type ZESchemaFormColumnType = ProFormColumnsType<any, ExtendValueTypes>;
export declare type ZESchemaFormProps = Partial<FormSchema<any, ExtendValueTypes>> & {
schemaID?: string;
schema?: SchemaType;
isKeyPressSubmit?: ProFormProps["isKeyPressSubmit"];
propertyConfig?: {
[key: string]: {
readonly?: boolean;
valueType?: string;
fieldProps?: Record<string, any>;
};
};
saveOnFinish?: boolean;
simplyValue?: boolean;
};