Customizing the output of a component of a block
-
Say I’m building a custom block that uses a RadioControl component
How do I customize the output of the component?
That specific compnent outputs wrapping divs around input and label elements.
<div class="components-radio-control__option"> <input id="inspector-radio-control-0-2" class="components-radio-control__input" type="radio" name="inspector-radio-control-0" value="3"> <label for="inspector-radio-control-0-2"></label> </div>
An example of what i would want to do is to be able to change the output to remove the wrapper div (or else). How would I do that? Is it even possible?
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Customizing the output of a component of a block’ is closed to new replies.