An open API service indexing awesome lists of open source software.

https://github.com/rajdeepc/react-awesome-drawer

A React Sliding Drawer Component
https://github.com/rajdeepc/react-awesome-drawer

List: react-awesome-drawer

drawer react react-component reactjs slider-plugin

Last synced: about 2 months ago
JSON representation

A React Sliding Drawer Component

Awesome Lists containing this project

README

          

# Introduction

A React Sliding Drawer Component

## Installation

```
npm i react-awesome-slider --save
```

## How to use

```
import React, { useState, useEffect } from "react";
import {ReactSlider} from "react-awesome-slider";

export default function App() {

const [showSlider, setShowSlider] = useState(false)

return (


{}}
position="right"
/>
);
}

```

## Options

ReactSlider supports five options, both of which are mandatory

* show: true | false,
* headerTitle: string,
* dataList: array of objects,
* itemElement: component,
* position: 'right' | 'left'