Skip to content

Commit 516b781

Browse files
authored
Merge pull request #108 from davideddr/patch-1
Fix import statement
2 parents a597b2e + 1ad2e9b commit 516b781

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/with-navigation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ sidebar_label: withNavigation
1212

1313
```js
1414
import React from 'react';
15-
import { Button } 'react-native';
15+
import { Button } from 'react-native';
1616
import { withNavigation } from 'react-navigation';
1717

1818
class MyBackButton extends React.Component {
@@ -24,4 +24,4 @@ class MyBackButton extends React.Component {
2424
// withNavigation returns a component that wraps MyBackButton and passes in the
2525
// navigation prop
2626
export default withNavigation(MyBackButton);
27-
```
27+
```

0 commit comments

Comments
 (0)