List.Item
A component to show tiles inside a List.
Usage
import * as React from 'react';
import { List } from 'react-native-paper';
const MyComponent = () => (
<List.Item
title="First Item"
description="Item description"
left={props => <List.Icon {...props} icon="folder" />}
/>
);
export default MyComponent;
Props
descriptionType:
| React.Node
| ((props: {
ellipsizeMode: EllipsizeProp,
color: string,
fontSize: number,
}) => React.Node)Description text for the list item or callback which returns a React element to display the description.
leftType:
(props: { color: string }) => React.NodeCallback which returns a React element to display on the left side.
rightType:
(props: { color: string }) => React.NodeCallback which returns a React element to display on the right side.
themeType:
Theme