Skip to content

Commit c8b75fb

Browse files
committed
docs: BottomNavigation example
1 parent 45e8ddd commit c8b75fb

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

app/ng-ui-widgets-category/bottom-navigation/button-examples.component.ts renamed to app/ng-ui-widgets-category/bottom-navigation/bottom-navigation-examples.component.ts

File renamed without changes.

app/ng-ui-widgets-category/bottom-navigation/bottom-navigation-examples.module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { NgModule, NO_ERRORS_SCHEMA } from "@angular/core";
22
import { NativeScriptRouterModule } from "nativescript-angular/router";
33
import { NativeScriptCommonModule } from "nativescript-angular/common";
4-
import { BottomNavigationExamplesComponent } from "./button-examples.component";
4+
import { BottomNavigationExamplesComponent } from "./bottom-navigation-examples.component";
55
import { UsageComponent } from "./usage/usage.component";
66
import { NativeScriptFormsModule } from "nativescript-angular/forms";
77
import { TitleAndNavButtonModule } from "../../directives/title-and-nav-button.module";
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,8 @@
1+
The `BottomNavigation` component contains two sub-components:
2+
- The `TabStrip` which defines and rendres the bottom bar and its `TabStripItem` components.
3+
- Multiple `TabContentItem` components which total number should be equal to the number of the tabs (`TabStripItem` components). Each `TabContentItem` acts as a container for your tab content.
14

25
<snippet id='bottom-navigation-usage-html'/>
6+
7+
> **Note:** The number of `TabStripItem` components must be equal to the number of `tabContentItem` components.
8+

0 commit comments

Comments
 (0)