Skip to main content

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.


Required
children

Type
RadioGroupItem or RadioGroupItem[]

title

Type
string

value

Type
any

onChange

(value: any) => void;
Type
function

gap

TypeDefault
number10

itemsPerRow

TypeDefault
number3

titleStyle

Type
Text Style

itemLabelNumberOfLines

Type
number