Looking through the docs, I don’t see a description property on the radio buttons? How could I give each radio button option a small description?
The devkit documentation is always being updated, while there are gaps you can always navigate to the component you are trying to give a property to. There it should give you clues as to what you can do there. For example, the RadioButton
component:
You can see a description paramter:
<Description className={`${className}-description`}>
{description}
</Description>
You can implement it like this:
<RadioButtons
attribute={'LeatherStr'}
title='Title'
description='Description'
/>
Result:
However this only gives a general description for all of the RadioButtons
and not individuals like you are asking for. You will either have to modify the core files (at your own risk, it can complicate updates) or build custom functionality.
1 Like