diff --git a/docs/with-navigation.md b/docs/with-navigation.md index 6990233ef7c..934494171c6 100644 --- a/docs/with-navigation.md +++ b/docs/with-navigation.md @@ -12,7 +12,7 @@ sidebar_label: withNavigation ```js import React from 'react'; -import { Button } 'react-native'; +import { Button } from 'react-native'; import { withNavigation } from 'react-navigation'; class MyBackButton extends React.Component { @@ -24,4 +24,4 @@ class MyBackButton extends React.Component { // withNavigation returns a component that wraps MyBackButton and passes in the // navigation prop export default withNavigation(MyBackButton); -``` \ No newline at end of file +```