Type Definitions
AppNavigatorOptions
Type:
- Object
Properties:
Name | Type | Description |
---|---|---|
initialScreen |
string | The initial screen for the miniapp. If falsy, the first screen defined in the screens will be used. |
- Source:
Button
Type:
- Object
Properties:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
icon |
string |
<nullable> |
The location of the icon (use Image.resolveAssetSource(iconFile).uri )
or the name of a built-in icon. |
|
id |
string | The ID of the button; will be used in header button events. Cannot contain '.'. | ||
location |
'left' | 'right' |
<optional> |
'right' | (optional) Where to display the icon (either 'left' or 'right'). |
accessibilityLabel |
string |
<nullable> |
The text to read out with screen-reader technology. |
- Source:
NavigationBar
Type:
- Object
Properties:
Name | Type | Description |
---|---|---|
title |
string | The title for the navigation bar. |
buttons |
Array.<Button> | The Buttons to display on the navigation bar. |
- Source: