1 | import * as React from "react";
|
2 | import { IModal, ModalContentProps } from "../Modal";
|
3 | import { BoxProps } from "../Box";
|
4 | import { CloseButtonProps } from "../CloseButton";
|
5 |
|
6 | interface IDrawer extends IModal {
|
7 | |
8 |
|
9 |
|
10 | size?: "xs" | "sm" | "md" | "lg" | "xl" | "full";
|
11 | |
12 |
|
13 |
|
14 | isFullHeight?: boolean;
|
15 | |
16 |
|
17 |
|
18 | placement?: "top" | "left" | "bottom" | "right";
|
19 | |
20 |
|
21 |
|
22 |
|
23 | finalFocusRef?: IModal["finalFocusRef"];
|
24 | }
|
25 |
|
26 | export const Drawer: React.FC<IDrawer>;
|
27 | export const DrawerBody: React.FC<BoxProps>;
|
28 | export const DrawerHeader: React.FC<BoxProps>;
|
29 | export const DrawerContent: React.FC<ModalContentProps>;
|
30 | export const DrawerFooter: React.FC<BoxProps>;
|
31 | export const DrawerOverlay: React.FC<BoxProps>;
|
32 | export const DrawerCloseButton: React.FC<CloseButtonProps>;
|