UNPKG

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.

11 lines (10 loc) 490 B
import { GroupType, FormSchemaType } from './store'; import { StoreActions } from 'react-simple-hook-store'; export declare type GroupingActions = { addGroup: (group: GroupType) => void; setActiveGroup: (id: string) => void; removeGroup: (id: string) => void; renameGroup: (id: string, name: string) => void; swapGroups: (index: number, newPositionIndex: number) => void; }; export declare const groupingActions: StoreActions<FormSchemaType, GroupingActions>;