ItemTypes Usage
There are three items in this questionnaire, therefore the itemTypes Record<linkId, item.type>
will have three items and their respective item types.
Live Editor
function App() { const itemTypes = useQuestionnaireStore.use.itemTypes(); return ( <> <YourBaseRendererWrapper questionnaire={qCalculatedExpressionBMICalculator} /> <JsonViewer hookName="itemTypes" data={itemTypes} /> </> ); }
Result
Loading...