## Installation


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




It has react-modal as peer dependency.

yarn add react-modal @comparaonline/ui-drawer


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

<Drawer isOpen anchor="left" maxWidth="600px">


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.