Top Navigation

TopNavigation provides a heading component for the entire page.

In basic example TopNavigation contains a title and actions.

TopNavigation may contain the right action on the left.

Properties

Name

Type

Description

title

ReactText | (TextProps) => ReactElement

String, number or a function component to render within the top navigation. If it is a function, expected to return a Text.

subtitle

ReactText | (TextProps) => ReactElement

String, number or a function component to render within the top navigation. If it is a function, expected to return a Text.

accessoryLeft

() => ReactElement

Function component to render to the left edge the top navigation.

accessoryRight

() => ReactElement

Function component to render to the right edge the top navigation.

...ViewProps

ViewProps

Any props applied to View component.

Last updated