Back to React Native Paper

ToolbarAction

docs/public/1.0/toolbar-action.html

5.15.1520 B
Original Source

ToolbarAction

The ToolbarAction component is used for displaying an action item in the toolbar.

Props

dark Type: boolean

A dark action icon will render a light icon and vice-versa.

color Type: string

Custom color for action icon.

icon (required) Type: IconSource

Name of the icon to show.

size Type: number

Default value: 24

Optional icon size.

onPress Type: () => mixed

Function to execute on press.

style Type: any