This package should be used to build specific questionnaires, e.g:
The package created should expose a questionnaire()
function to generate a fresh Questionnaire
object.
If the Questionnaire
properties are specified in props
, for example, the package should export at a minimum:
import {Questionnaire} from "questionnaire-core";
export const questionnaire: () => Questionnaire = () => new Questionnaire(props);