Tab
A container directive that holds general markup content describing an individual tab within a tab-based layout.
Declaration
@Tab(_ title: String) {
...
}Parameters
- title:
The title that should identify the content in this tab when rendered. (required)
Overview
To add a new tab to a TabNavigator, add a @Tab directive within the content of the @TabNavigator directive.