common-intellisense
Version:
72 lines (71 loc) • 2.12 kB
JSON
{
"props": [
{
"Attribute": "children",
"Type": "`ReactNode`",
"Description": "The label of the radio.",
"Default": "-"
},
{
"Attribute": "label",
"Type": "`ReactNode`",
"Description": "The label of the radio.",
"Default": "-"
},
{
"Attribute": "size",
"Type": "`sm` | `md` | `lg`",
"Description": "The size of the radio.",
"Default": "`md`"
},
{
"Attribute": "color",
"Type": "`default` | `primary` | `secondary` | `success` | `warning` | `danger`",
"Description": "The color of the radio.",
"Default": "`primary`"
},
{
"Attribute": "description",
"Type": "`ReactNode`",
"Description": "A description for the field. Provides a hint such as specific requirements for what to choose.",
"Default": "-"
},
{
"Attribute": "isDisabled",
"Type": "`boolean`",
"Description": "Whether the radio is disabled.",
"Default": "`false`"
},
{
"Attribute": "isRequired",
"Type": "`boolean`",
"Description": "Whether user checkboxes are required on the input before form submission.",
"Default": "`false`"
},
{
"Attribute": "isReadOnly",
"Type": "`boolean`",
"Description": "Whether the checkboxes can be selected but not changed by the user.",
"Default": "-"
},
{
"Attribute": "isInvalid",
"Type": "`boolean`",
"Description": "Whether the radio is invalid. This is based on the radio groupo `validationState` prop.",
"Default": "`false`"
},
{
"Attribute": "disableAnimation",
"Type": "`boolean`",
"Description": "Whether the animation should be disabled.",
"Default": "`false`"
},
{
"Attribute": "classNames",
"Type": "`Record<\"base\"| \"wrapper\"| \"labelWrapper\" | \"label\" | \"control\" | \"description\", string>`",
"Description": "Allows to set custom class names for the radio slots.",
"Default": "-"
}
],
"link": "https://nextui.org/docs/components/radio"
}