Radio

A control for selecting a single option from a list.

tsx
import { Radio, RadioGroup } from '@xdev-asia/x-ui-react';

Examples

Props

RadioGroup

  • name - Group name (required)
  • value - Selected value
  • onChange - Change handler
  • orientation - 'horizontal' | 'vertical'

Radio

  • value - Radio value (required)
  • label - Label text
  • isDisabled - Disable the radio