Back to React Native Paper

Appbar.Content

docs/public/2.0/appbar-content.html

5.15.1571 B
Original Source

Appbar.Content

A component used to display a title and optional subtitle in a appbar.

Props

color Type: string

Custom color for the text.

title (required) Type: React.Node

Text for the title.

titleStyle Type: any

Style for the title.

subtitle Type: React.Node

Text for the subtitle.

subtitleStyle Type: any

Style for the subtitle.

onPress Type: () => mixed

Function to execute on press.

style Type: any

theme Type: Theme