Skip to main content

AppleTvInfoBarActionProps

AppleTvInfoBarActionProps = object

AppleTvInfoBarActionProps defines the properties for an AppleTvInfoBarAction

Properties​

icon​

icon: string

The name of the image resource in the Xcode app project.


onPress()​

onPress: (value) => void

Action to be executed when the button is pressed.

Parameters​

ParameterTypeDescription
valuestringThe action state string passed to the handler.

Returns​

void


state​

state: boolean

The state of the info bar action button.


title​

title: string

The text of the infobar action button.