From 3f36811d183460772ac7656aa2f090926016fe33 Mon Sep 17 00:00:00 2001 From: iGor Date: Wed, 27 Nov 2019 12:22:52 +0300 Subject: [PATCH] Update Drawer.md syntax fixed --- docs/components/Drawer.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/components/Drawer.md b/docs/components/Drawer.md index c248d698..e8fc6900 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 () => { - this.drawer._root.close() - }; - openDrawer () => { - this.drawer._root.open() - }; + closeDrawer() { + this.drawer._root.close(); + } + openDrawer() { + this.drawer._root.open(); + } render() { return ( <Drawer