A component for presenting mutually exclusive choices
Constructs a Radio from the arguments
Default configuration is to:
Argument Info:
label is for given context to all of the optionFor example, if a user is choosing between some type of "resources", like
the Volumes attached to a virtual machine, the label would be rendered
above chooses related to Volumes.
A palette rendering the color of the radio button given the possible
OptionState
defined in elm-ui.
Render with a custom palette
Provide a list of attributes to include on option label elements.
This will not impact the label rendered above the Radio button options.
Use withLabelAttributes to impact that element.
Provide a list of attributes to include on the label over the entire element.
If you're looking to add attributes to the Radio buttons options, use withOptionExtraAttributes.
Opaque
Radioelement that can producemsgmessages from a mutually exclusive choices ofoption