Skip to content

Latest commit

 

History

History
20 lines (11 loc) · 607 Bytes

README.md

File metadata and controls

20 lines (11 loc) · 607 Bytes

questionnaire-core

Using the package

This package should be used to build specific questionnaires, e.g:

Minimum requirements

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);