Trying to register our react component in builder which is accepting some props in current implementation, so how to pass/convert these props when registering the components in builder?
Currently doing in the following way using inputs but defaultValue is not getting updated with a dynamic variable inside inputs.
Builder.registerComponent(CustomComp, {
name: 'CustomComp',
inputs: [
{
name: 'inputVal',
type: 'text',
defaultValue: **variable**
},
]
});