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.ReactNode

Text for the title.

titleStyle
Type: StyleProp<TextStyle>

Style for the title.

subtitle
Type: React.ReactNode

Text for the subtitle.

subtitleStyle
Type: StyleProp<TextStyle>

Style for the subtitle.

onPress
Type: () => void

Function to execute on press.

style
Type: StyleProp<ViewStyle>
theme
Type: Theme