@comparaonline/ui-drawer

## Installation

Stats

stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
@comparaonline/ui-drawer
Minified + gzip package size for @comparaonline/ui-drawer in KB

Readme

@comparaonline/ui-drawer

Installation

It has react-modal as peer dependency.

yarn add react-modal @comparaonline/ui-drawer

Usage

import Drawer from '@comparaonline/ui-drawer';

<Drawer isOpen anchor="left" maxWidth="600px">
  ...
</Drawer>;

Proptypes

Name Required Type Default Description
isOpen false boolean false Determines open state
anchor false string left, right, top, bottom left
maxWidth false string 320px Max width for left and right anchors
maxHeight false string 100% Max height for top and bottom anchors

For more information about the props see the React Modal usage summary.

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.