Fix style variable in docs. (#2451)

This commit is contained in:
Bruno 2017-08-24 03:07:12 +02:00 committed by Matt Hamil
parent f172ade4ae
commit 3336022279

View File

@ -116,7 +116,7 @@ You can easily override the default component used by `react-navigation`:
import { DrawerItems } from 'react-navigation'; import { DrawerItems } from 'react-navigation';
const CustomDrawerContentComponent = (props) => ( const CustomDrawerContentComponent = (props) => (
<View style={style.container}> <View style={styles.container}>
<DrawerItems {...props} /> <DrawerItems {...props} />
</View> </View>
); );