id | title | sidebar_label |
---|---|---|
layout-stack |
Stack |
Stack |
A stack is a container layout promoting a hierarchical navigation. It is used to navigate between screens at consecutive levels of hierarchy, steps in a flow or across an app.
{
id: 'PROFILE_TAB',
children: [
{
component: {
id: 'PROFILE_SCREEN',
name: 'ProfileScreen'
}
}
]
}
Type | Required | Description |
---|---|---|
string | No | Unique id used to interact with the view via the Navigation api, usually Navigation.mergeOptions which accepts the componentId as it's first argument. |
Type | Required | Description |
---|---|---|
Layout[] | YES | Child layouts of any kind. |
Type | Required | Description |
---|---|---|
Options | No | Options that will apply to all screens in stack |