0.27.1 • Published 5 years ago

@comparaonline/ui-drawer v0.27.1

Weekly downloads
3
License
MIT
Repository
-
Last release
5 years ago

@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

NameRequiredTypeDefaultDescription
isOpenfalsebooleanfalseDetermines open state
anchorfalsestringleft, right, top, bottomleftDocking side
maxWidthfalsestring320pxMax width for left and right anchors
maxHeightfalsestring100%Max height for top and bottom anchors

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

0.27.1

5 years ago

0.23.1

6 years ago

0.21.2

6 years ago

0.21.1

6 years ago

0.20.1

6 years ago

0.19.1

6 years ago

0.18.0

6 years ago

0.17.4

6 years ago

0.17.3

6 years ago

0.17.0

6 years ago

0.13.0

6 years ago