rfa
Version:
**React Form Architect** is an ultimate solution for creating and rendering forms in React. Its main focus is to provide users with a tool to define, render and share a form in a browser.
13 lines (12 loc) • 374 B
TypeScript
import type { FormStoredElementType, FormSchemaType } from '../store/store';
export declare type GroupedFormData = {
[groupName: string]: FormStoredElementType[];
};
export declare const useFormRenderer: (data: FormSchemaType) => {
data: {
GroupReducedElements: GroupedFormData;
};
state: {
shouldRenderGroups: boolean;
};
};