Interface: RsRadioGroupProps
Props for the RsRadioGroup component.
Extends
RadioGroupProps<string>
Properties
appearance?
optionalappearance:"default"|"picker"
A radio group can have different appearances
Inherited from
RadioGroupProps.appearance
as?
optionalas:ElementType<any, keyof IntrinsicElements>
You can use a custom element for this component
Inherited from
RadioGroupProps.as
children?
optionalchildren:ReactNode
Primary content
Inherited from
RadioGroupProps.children
className?
optionalclassName:string
Additional classes
Inherited from
RadioGroupProps.className
classPrefix?
optionalclassPrefix:string
The prefix of the component CSS class
Inherited from
RadioGroupProps.classPrefix
defaultValue?
optionaldefaultValue:string
Initial value
Inherited from
RadioGroupProps.defaultValue
disabled?
optionaldisabled:boolean
Set the component to be disabled and cannot be entered
Inherited from
RadioGroupProps.disabled
inline?
optionalinline:boolean
Inline layout
Inherited from
RadioGroupProps.inline
items
items:
LabeledValue[]
The items for the radio group.
label?
optionallabel:string
The label for the radio group.
name?
optionalname:string
Name to use for form
Inherited from
RadioGroupProps.name
onChange()?
optionalonChange: (value) =>void
Called after the value has been changed.
Parameters
value
string
the value.
Returns
void
Overrides
RadioGroupProps.onChange
plaintext?
optionalplaintext:boolean
Render the control as plain text
Inherited from
RadioGroupProps.plaintext
readOnly?
optionalreadOnly:boolean
Make the control readonly
Inherited from
RadioGroupProps.readOnly
style?
optionalstyle:CSSProperties
Additional style
Inherited from
RadioGroupProps.style
value?
optionalvalue:string
Current value of the component. Creates a controlled component
Inherited from
RadioGroupProps.value