TabNavigator
A container directive that arranges content into a tab-based layout.
Declaration
@TabNavigator {
@Tab(_ title: String) { ... }
}Overview
Create a new tab navigator by writing a @TabNavigator directive that contains child @Tab directives.
@TabNavigator {
@Tab("Powers") {

}
@Tab("Exercise routines") {

}
@Tab("Hats") {

}
}