AppleTvTransportBarSubMenuProps
AppleTvTransportBarSubMenuProps =
object
Type definition for the properties of an AppleTvTransportBarSubMenu component.
Properties
children
children:
ReactNode
The submenu children, which can be AppleTvTransportBarSubMenuItem components.
defaultValue
defaultValue:
string
The default value selected of the submenu.
icon
icon:
string
The name of the image resource in the Xcode app.
onPress()
onPress: (
value) =>void
The action to be executed when a submenu item is selected.
Parameters
| Parameter | Type | Description |
|---|---|---|
value | string | The value of the selected submenu item. |
Returns
void
title
title:
string
The submenu title.