HomeOur TeamContact

React Native Drawer

By Prajakta Kumbhar
Published in UI
September 29, 2022
1 min read
React Native Drawer

Table Of Contents

01
Installation
02
Library link

Installation

npm install --save react-native-drawer

Usage

import Drawer from 'react-native-drawer'

class Application extends Component {  
  closeControlPanel = () => {
    this._drawer.close()
  };
  openControlPanel = () => {
    this._drawer.open()
  };
  render () {
    return (
      <Drawer
        ref={(ref) => this._drawer = ref}
        content={<ControlPanel />}
        >
        <MainView />
      </Drawer>
    )
  }
})

https://github.com/root-two/react-native-drawer


Previous Article
Dash Border
Next Article
Sliding Up Panel
Prajakta Kumbhar

Prajakta Kumbhar

Prajakta Kumbhar

Related Posts

Vertical Step indicator
Vertical Step indicator
May 06, 2023
1 min

Quick Links

Advertise with usAbout UsContact Us

Social Media