List.Subheader

A component used to display a header in lists.

Usage

import * as React from 'react';
import { List } from 'react-native-paper';

class MyComponent extends React.Component {
 render () {
   return <List.Subheader>My List Title</List.Subheader>;
 }
}

export default MyComponent;

Props

theme
Type: Theme
style
Type: any

Style that is passed to Text element.