RadioButtonProps
Represents the props of the KendoReact RadioButton component. Extends the native input props.
Definition
Package:@progress/kendo-react-inputs
Properties
ariaDescribedBy?
string
Identifies the element(s) which will describe the component, similar to HTML aria-describedby attribute. For example these elements could contain error or hint message.
ariaLabel?
string
Sets the aria-label attribute on the RadioButton input element.
checked?
boolean
Specifies if the Radio button is checked.
children?
any
The content of the RadioButton component.
className?
string
Specifies a list of CSS classes that will be added to the Radio button.
disabled?
boolean
Specifies if the Radio button is disabled.
id?
string
Sets the id of the Radio button.
index?
number
Specifies the current index of the Radio button.
label?
string
Sets the label of the Radio button (see example).
labelPlacement?
string
Sets the label position of the Radio button (see example).
Accepts two options: before or after. Defaults to after.
name?
string
Sets the name property of the Radio button.
onBlur?
(event: RadioButtonBlurEvent) => void
The event handler that will be fired when RadioButton is blurred.
onChange?
(event: RadioButtonChangeEvent) => void
The event handler that will be fired when the changes the selected value.
onFocus?
(event: RadioButtonFocusEvent) => void
The event handler that will be fired when RadioButton is focused.
size?
"small" | "medium" | "large"
Configures the size of the RadioButton.
The available options are:
- small
- medium
- large
- null—Does not set a size
className.
medium
style?
CSSProperties
Sets additional CSS styles to the Radio button.
tabIndex?
number
Sets the tabIndex property of the Radio button.
Defaults to 0.
valid?
boolean
Overrides the validity state of the component.
If valid is set, the required property will be ignored.
This property is part of the FormComponentProps interface.
value?
any
Sets the value to be submitted.