Checkbox.Item
Checkbox.Item allows you to press the whole row (item) instead of only the Checkbox.
Usage
import * as React from 'react';
import { View } from 'react-native';
import { Checkbox } from 'react-native-paper';
const MyComponent = () => (
<View>
<Checkbox.Item label="Item" status="checked" />
</View>
);
export default MyComponent;
Props
theme
Type:
ReactNativePaper.Theme
mode
Type:
'android' | 'ios'
Whether <Checkbox.Android />
or <Checkbox.IOS />
should be used.
Left undefined <Checkbox />
will be used.