configObj
is added to the attributes. This inclusion ensures that the text box will be rendered on the sidebar of the Visual Builder. You can then access the value of the text box in your component as a prop.
Here’s an example of how you can add multiple options by passing them in the traitConfig
array.