R/components-input.R
mcp_radio.Rd
Generates a set of radio buttons with MCP data attributes.
mcp_radio(id, label, choices, selected = choices[[1]])
Input ID
Display label
Character vector of choices. If named, names are used as display labels and values as the radio values.
The initially selected value. Defaults to the first choice.
An htmltools::tag object