RadioGroup
RadioGroups are a set of radio buttons that allow the user to select one option from a set.
Import
import { RadioGroup } from '@nomada-sh/react-native-eyecandy';
Example
Props
View Props
Inherits View Props.
Requiredchildren
Type |
---|
RadioGroupItem or RadioGroupItem[] |
title
Type |
---|
string |
value
Type |
---|
any |
onChange
(value: any) => void;
Type |
---|
function |
gap
Type | Default |
---|---|
number | 10 |
itemsPerRow
Type | Default |
---|---|
number | 3 |
titleStyle
Type |
---|
Text Style |
itemLabelNumberOfLines
Type |
---|
number |