Skip to content

Commit 364e05c

Browse files
nickineeringbrentvatne
authored andcommitted
Fixed broken link in navigation-views.md (react-navigation#400)
* Fixed broken link * Fixed broken link * Added navigation-views.md to version-3.x
1 parent 7a33a73 commit 364e05c

File tree

3 files changed

+25
-2
lines changed

3 files changed

+25
-2
lines changed

docs/navigation-views.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Navigation views are controlled React components that can present the current na
1313
- [StackView](https://github.com/react-navigation/react-navigation-stack/blob/master/src/views/StackView/StackView.js) - Present a stack that looks suitable on any platform
1414
+ [StackViewCard](https://github.com/react-navigation/react-navigation-stack/blob/master/src/views/StackView/StackViewCard.js) - Present one card from the card stack, with gestures
1515
+ [Header](https://github.com/react-navigation/react-navigation-stack/blob/master/src/views/Header/Header.js) - The header view for the card stack
16-
- [SwitchView](https://github.com/react-navigation/react-navigation/blob/master/src/views/SwitchView/SwitchView.js) - A navigator that only ever show one screen at a time, useful for authentication flows.
16+
- [SwitchView](https://github.com/react-navigation/react-navigation-core/blob/master/src/views/SwitchView/SwitchView.js) - A navigator that only ever show one screen at a time, useful for authentication flows.
1717
- [Tabs](https://github.com/react-navigation/react-navigation-tabs) - A configurable tab switcher / pager
1818
- [Drawer](https://github.com/react-navigation/react-navigation-drawer) - A view with a drawer that slides from the left
1919

website/versioned_docs/version-2.x/navigation-views.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Navigation views are controlled React components that can present the current na
1414
- [StackView](https://github.com/react-navigation/react-navigation-stack/blob/master/src/views/StackView/StackView.js) - Present a stack that looks suitable on any platform
1515
+ [StackViewCard](https://github.com/react-navigation/react-navigation-stack/blob/master/src/views/StackView/StackViewCard.js) - Present one card from the card stack, with gestures
1616
+ [Header](https://github.com/react-navigation/react-navigation-stack/blob/master/src/views/Header/Header.js) - The header view for the card stack
17-
- [SwitchView](https://github.com/react-navigation/react-navigation/blob/master/src/views/SwitchView/SwitchView.js) - A navigator that only ever show one screen at a time, useful for authentication flows.
17+
- [SwitchView](https://github.com/react-navigation/react-navigation-core/blob/master/src/views/SwitchView/SwitchView.js) - A navigator that only ever show one screen at a time, useful for authentication flows.
1818
- [Tabs](https://github.com/react-navigation/react-navigation-tabs) - A configurable tab switcher / pager
1919
- [Drawer](https://github.com/react-navigation/react-navigation-drawer) - A view with a drawer that slides from the left
2020

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
id: navigation-views
3+
title: Navigation views
4+
sidebar_label: Navigation views
5+
---
6+
7+
Navigation views are presentation components that take a [`router`](routers.html) and a [`navigation`](navigation-prop.html) prop, and can display several screens, as specified by the `navigation.state`.
8+
9+
Navigation views are controlled React components that can present the current navigation state. They manage switching of screens, animations and gestures. They also present persistent navigation views such as tab bars and headers.
10+
11+
## Built in Views
12+
13+
- [StackView](https://github.com/react-navigation/react-navigation-stack/blob/master/src/views/StackView/StackView.js) - Present a stack that looks suitable on any platform
14+
+ [StackViewCard](https://github.com/react-navigation/react-navigation-stack/blob/master/src/views/StackView/StackViewCard.js) - Present one card from the card stack, with gestures
15+
+ [Header](https://github.com/react-navigation/react-navigation-stack/blob/master/src/views/Header/Header.js) - The header view for the card stack
16+
- [SwitchView](https://github.com/react-navigation/react-navigation-core/blob/master/src/views/SwitchView/SwitchView.js) - A navigator that only ever show one screen at a time, useful for authentication flows.
17+
- [Tabs](https://github.com/react-navigation/react-navigation-tabs) - A configurable tab switcher / pager
18+
- [Drawer](https://github.com/react-navigation/react-navigation-drawer) - A view with a drawer that slides from the left
19+
20+
21+
## [Transitioner](transitioner.html)
22+
23+
`Transitioner` manages the animations during the transition and can be used to build fully custom navigation views. It is used inside the `StackView` view. [Learn more about Transitioner here.](transitioner.html)

0 commit comments

Comments
 (0)