Skip to main content

List.Subheader

A component used to display a header in lists.

Usage

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

const MyComponent = () => <List.Subheader>My List Title</List.Subheader>;

export default MyComponent;

Props

theme

Type: ThemeProp

style

Type: StyleProp<TextStyle>

Style that is passed to Text element.

maxFontSizeMultiplier

Type: number

Specifies the largest possible scale a text font can reach.