Skip to content

Commit

Permalink
fixup! Feat(web-react): Introduce Drawer component #DS-1580
Browse files Browse the repository at this point in the history
  • Loading branch information
curdaj committed Jan 8, 2025
1 parent 5fb45ef commit 06d1b1b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/web-react/src/components/Drawer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ The Drawer is a composition of several subcomponents:
## Drawer

```jsx
import { Drawer } from '@folio/stripes/components';
import { Drawer } from '@lmc-eu/spirit-web-react';

const [isOpen, setOpen] = useState(false);

Expand Down Expand Up @@ -78,7 +78,7 @@ and [escape hatches][readme-escape-hatches].
The `DrawerCloseButton` component is a button that closes the drawer when clicked.

```jsx
import { DrawerCloseButton } from '@folio/stripes/components';
import { DrawerCloseButton } from '@lmc-eu/spirit-web-react';

<DrawerCloseButton />;
```
Expand All @@ -100,7 +100,7 @@ and [escape hatches][readme-escape-hatches].
The `DrawerPanel` component is a container for the content that will be displayed in the drawer.

```jsx
import { DrawerPanel } from '@folio/stripes/components';
import { DrawerPanel } from '@lmc-eu/spirit-web-react';

<DrawerPanel>{/* Drawer content goes here */}</DrawerPanel>;
```
Expand Down

0 comments on commit 06d1b1b

Please sign in to comment.