ListAccordion

ListAccordion can be used to display an expandable list item.

Usage

import * as React from 'react';
import { ListAccordion, ListItem, Checkbox } from 'react-native-paper';

const MyComponent = () => (
  <ListAccordion
    title="Accordion"
    icon="folder"
  >
    <ListItem title="First item" />
    <ListItem title="Second item" />
  </ListAccordion>
);

Props

title (required)
Type: React.Node

Title text for the list accordion.

description
Type: React.Node

Description text for the list accordion.

icon
Type: React.Node

Icon to display for the ListAccordion.

children (required)
Type: React.Node

Content of the section.

theme
Type: Theme
style
Type: any