Generator
A component for generating other components (e.g., automatically generated questions).
Options
- autoStart |
boolean
: controls whether to automatically invoke the generator after mounting. Default:true
. - buttonLabel |
(string|node)
: label for button. Default:'Generate'
. - onGenerate |
function (required)
: function invoked that should return a new component to be rendered in the lesson. Default:none
.