UNPKG

fx-form-widget

Version:
27 lines (26 loc) 818 B
/// <reference types="react" /> import type { FormInstance } from 'antd'; import './index.less'; export declare const renderDifferentLayputComponent: (schema: any, wid: string, onCheck?: (checkItem: { fieldName: string; value: string; }) => void) => JSX.Element; interface FormHandle { dynamicForm: FormInstance<any>; } interface ContentWrapProps { variant?: 'outlined' | 'borderless' | 'filled'; loading?: boolean; valuesChanged: Function; onCheck?: (checkItem: { fieldName: string; value: string; }) => void; } export interface DataListProps { wid: string; fieldName: string | undefined; value: any; } declare const _default: import("react").ForwardRefExoticComponent<ContentWrapProps & import("react").RefAttributes<FormHandle>>; export default _default;