Skip to main content

CheckListOption

CheckListOptions are used to create a checkbox list option. They are used within the CheckList component.

Import

import { CheckListOption } from '@nomada-sh/react-native-eyecandy';

Example

See CheckList example.

Props

View Props

Inherits View Props.


Required
id

Type
string

Required
value

Type
any

title

Type
string

description

Type
string

selected

Type
boolean

disabled

Type
boolean

onPress

({ id: string, value: any }) => void;
Type
function
  • 'id' (string): id of the option.
  • 'value' (any): value of the option.

image

Type
ImageSource

checkComponent

Type
component, element