Appbar.Action

A component used to display an action item in the appbar.

Props

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.

disabled
Type: boolean

Whether the button is disabled. A disabled button is greyed out and onPress is not called on touch.

accessibilityLabel
Type: string

Accessibility label for the button. This is read by the screen reader when the user taps the button.

onPress
Type: () => mixed

Function to execute on press.

style
Type: any