diff --git a/docs/components/Drawer.md b/docs/components/Drawer.md index c248d698..8318d585 100644 --- a/docs/components/Drawer.md +++ b/docs/components/Drawer.md @@ -13,12 +13,12 @@ Replacing Component: [React Native Drawer](https://github.com/root-two/react-nat import { Drawer } from 'native-base'; import SideBar from './yourPathToSideBar'; export default class DrawerExample extends Component { - closeDrawer () => { + closeDrawer = () => { this.drawer._root.close() - }; - openDrawer () => { + } + openDrawer = () => { this.drawer._root.open() - }; + } render() { return ( <Drawer