We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a597b2e + 1ad2e9b commit 516b781Copy full SHA for 516b781
docs/with-navigation.md
@@ -12,7 +12,7 @@ sidebar_label: withNavigation
12
13
```js
14
import React from 'react';
15
-import { Button } 'react-native';
+import { Button } from 'react-native';
16
import { withNavigation } from 'react-navigation';
17
18
class MyBackButton extends React.Component {
@@ -24,4 +24,4 @@ class MyBackButton extends React.Component {
24
// withNavigation returns a component that wraps MyBackButton and passes in the
25
// navigation prop
26
export default withNavigation(MyBackButton);
27
-```
+```
0 commit comments