Received request from Uniform to render a component with the public ID: enhancedParametersDemo.
<UniformComposition /> does not have enhancedParametersDemo mapped to a React component yet.
To teach your app how to render this component:
function EnhancedParametersDemo({ switch, withTrueLabel, multiSelectDropdown, withTrueAndFalseLabels }) {
return (
<div>
EnhancedParametersDemo!
</div>
)
}
registerUniformComponent({ type: "enhancedParametersDemo", component: EnhancedParametersDemo }){
"switch": false,
"withTrueLabel": false,
"multiSelectDropdown": [
"easy",
"medium"
],
"withTrueAndFalseLabels": true,
"component": {
"type": "enhancedParametersDemo",
"parameters": {
"switch": {
"type": "checkbox",
"value": false
},
"withTrueLabel": {
"type": "checkbox",
"value": false
},
"multiSelectDropdown": {
"type": "multi-select",
"value": [
"easy",
"medium"
]
},
"withTrueAndFalseLabels": {
"type": "checkbox",
"value": true
}
}
}
}<UniformComposition /> is defined, for example import "../components/EnhancedParametersDemo.tsx"
Need more help? Check out the documentation.