From c87622d04cffed491732ae700be384b338f5eec5 Mon Sep 17 00:00:00 2001 From: mufaddalhamidofficial <49232863+mufaddalhamidofficial@users.noreply.github.com> Date: Sun, 21 Jun 2020 21:13:07 +0530 Subject: [PATCH] code was not visible in website --- docs/components/Drawer.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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