From cb0f752f8d585dd80f330d780db8e255818b605a Mon Sep 17 00:00:00 2001 From: Symous <464934319@qq.com> Date: Wed, 26 Apr 2017 17:12:15 +0800 Subject: [PATCH] fix an error in OTHER_INFO.md the old import will lead to 'super expression must either be null or a function' error when we run the program which is an easily overlookedbut seriouly error may trouble us. :D --- docs/OTHER_INFO.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/OTHER_INFO.md b/docs/OTHER_INFO.md index ed8de5d17..ec631ac76 100644 --- a/docs/OTHER_INFO.md +++ b/docs/OTHER_INFO.md @@ -155,7 +155,7 @@ Example of Drawer custom renderer based on react-native-drawer. Note that the bu With DefaultRenderer you may build own drawer 'renderer' that transforms current navigation state into drawer. Drawer could check own state (open/close) from navigation state: ```jsx -import React from 'react-native'; +import React,{Component} from 'react'; import Drawer from 'react-native-drawer'; import SideMenu from './SideMenu'; import {Actions, DefaultRenderer} from 'react-native-router-flux';