mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-03-06 22:39:41 +08:00
committed by
Matt Hamil
parent
f3bb04888e
commit
661d01dc54
@@ -1,7 +1,7 @@
|
||||
|
||||
# withNavigation
|
||||
|
||||
[`withNavigation`](/src/views/withNavigation.js) is a Higher Order Component which passes the `navigation` prop into wrapped Component. It's useful when you cannnot pass the `navigation` prop into into the component directly, or don't want to pass it in case of a deeply nested child.
|
||||
[`withNavigation`](/src/views/withNavigation.js) is a Higher Order Component which passes the `navigation` prop into a wrapped Component. It's useful when you cannot pass the `navigation` prop into the component directly, or don't want to pass it in case of a deeply nested child.
|
||||
|
||||
## Example
|
||||
|
||||
|
||||
Reference in New Issue
Block a user