View as Markdown

API reference

@salmonui/inputs/radio-group

6 exported symbols: 2 components, 2 interfaces and 2 types. Each name links its page with the signature, docs and members. Names re-exported from another entry point are listed there, linked below.

import { … } from '@salmonui/inputs/radio-group';

Components

  • RadioOne radio. Inside a RadioGroup it takes the group's name and selection; outside it is a plain native radio grouped by its own name (checked / defaultChecked ar…
  • RadioGroupRadio group: a <fieldset role="radiogroup"> named by label around native radios that share one name, so the browser provides the single Tab stop and arrow-key…

Interfaces

Types

  • RadioChangeDetailsSecond argument of onValueChange: reason is 'select' (click, arrow keys, Space) or 'reset' (form reset).

Re-exported entry points