UNPKG

react-questionaire

Version:

Welcome to the React Questionaire Package! 🚀

18 lines (17 loc) • 502 B
import { QUESTION } from "../../interface"; declare const useGenerateResponseHook: () => { generateResponse: (response: { [key: string]: any; }, questionState: QUESTION[]) => QUESTION[]; generateResponseForMember: (response: { [key: string]: any; }, data: QUESTION[]) => { [key: string]: QUESTION[]; }; handleFormSubmit: (ref: { current: { formSubmit: () => void; }; }) => void; }; export default useGenerateResponseHook;