Skip to content

Commit c203487

Browse files
committed
docs(tabs): add warning for required tabbar
1 parent 1d63cef commit c203487

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/api/tabs.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ The `ion-tabs` component does not have any styling and works as a router outlet
2424

2525
Both `ion-tabs` and `ion-tab-bar` can be used as standalone elements. They don’t depend on each other to work, but they are usually used together in order to implement a tab-based navigation that behaves like a native app.
2626

27+
:::warning
28+
Using `IonTabs` within React requires the `IonTabBar` component as a direct child of `IonTabs`.
29+
:::
30+
2731
The `ion-tab-bar` needs a slot defined in order to be projected to the right place in an `ion-tabs` component.
2832

2933
## Basic Usage

0 commit comments

Comments
 (0)