RadioGroup
Grupo de radios a partir de un array de opciones (`code` + `name`).
import { RadioGroup } from '#LibComponents/react/atomic/radiogroup/radiogroup.component';<RadioGroup name="theme" options={opts} selected="light" onSelect={fn} />Props del tipo del componente
| Prop | Tipo | Obligatorio | Default | Descripción |
|---|---|---|---|---|
checkMark | boolean | no | — | |
className | string | no | — | |
name | string | sí | — | |
renderAs | (v: RadioOptionsType) => JSX.Element | no | — | |
onSelect | (fName: string, selected: StaticFields) => void | no | — | |
options | RadioOptionsType[] | sí | — | |
selected | string | no | — |