@schematic-forms/react
Version:
react adapter for schematic forms
13 lines (12 loc) • 376 B
TypeScript
import { ReactElement } from 'react';
export interface IFieldConsumer {
field: string;
children: (props: {
value: any;
setValue: ((next: any) => any) | any;
error: string | null;
}) => ReactElement<any> | null;
initialValue?: any;
}
declare const _default: import("react").NamedExoticComponent<IFieldConsumer>;
export default _default;