UNPKG

survey-react-ui

Version:

A free MIT-licensed React UI component that renders dynamic, interactive JSON-based forms and surveys. You can use it to collect responses from users and send them to your own database.

8 lines (7 loc) 333 B
export declare class ReactQuestionFactory { static Instance: ReactQuestionFactory; private creatorHash; registerQuestion(questionType: string, questionCreator: (name: string) => React.JSX.Element): void; getAllTypes(): Array<string>; createQuestion(questionType: string, params: any): React.JSX.Element | null; }