Solidtype_heroui.RadioHeroUI's Radio: Kobalte's RadioGroup.Item, its ItemLabel and its ItemInput, in HeroUI's anatomy, with HeroUI's classes from Styles.Radio and the state its styles read -- selected, disabled, invalid, hovered, pressed, focus-visible -- declared as React Aria writes it. A Description inside it, but outside its content, is the radio's, which its input is described by.
<Radio value="pro">
<Radio.Content>
<Radio.Control><Radio.Indicator /></Radio.Control>
"Pro"
</Radio.Content>
<Description>"Advanced reporting"</Description>
</Radio>A radio is used inside a Radio_group, and a part inside a Radio: elsewhere each raises Invalid_argument as it is made.
module Context : sig ... endmodule Content : sig ... endThe clickable label that holds the control and its text: Kobalte's RadioGroup.ItemLabel, the radio's input inside it.
module Control : sig ... endThe circle the indicator is drawn in.
module Indicator : sig ... endThe dot, which HeroUI's styles draw as the radio is selected, or the children it is given.
module Props : sig ... endval make : Props.t -> Solidtype.Jsx.elementval component : Props.t Solidtype.Jsx.component