Questionnaire Generator
This package helps to create multiple choice questionnaire.
- This package allows one to add questions, options for question and select right answer.
- Options can be deleted in same UI,
- Once questions is created, that can be deleted.
Usage
This component will accept onDone
property which is a callback function. This is used to return questions to the parents component.
Install
npm i questionnaire_generator
Code
...
import QuestionnaireGenerator from 'questionnaire_generator';
...
...
<QuestionnaireGenerator
onDone={(data)=>{console.log(data)}}
/>
...
...