Divider

A divider is a thin, lightweight separator that groups content in lists and page layouts.

Usage

import * as React from 'react';
import { View } from 'react-native';
import { Divider, Text } from 'react-native-paper';

const MyComponent = () => (
  <View>
    <Text>Apple</Text>
    <Divider />
    <Text>Orange</Text>
    <Divider />
  </View>
);

export default MyComponent;

Props

inset
Type: boolean

Whether divider has a left inset.

style
Type: any
theme
Type: Theme