1 | import * as React from 'react';
|
2 | export declare enum DrawerColorVariant {
|
3 | default = "default",
|
4 | light200 = "light-200"
|
5 | }
|
6 | export interface DrawerProps extends React.HTMLProps<HTMLDivElement> {
|
7 |
|
8 | className?: string;
|
9 |
|
10 | children?: React.ReactNode;
|
11 |
|
12 | isExpanded?: boolean;
|
13 |
|
14 | isInline?: boolean;
|
15 |
|
16 | isStatic?: boolean;
|
17 |
|
18 | position?: 'left' | 'right' | 'bottom';
|
19 |
|
20 | onExpand?: () => void;
|
21 | }
|
22 | export interface DrawerContextProps {
|
23 | isExpanded: boolean;
|
24 | isStatic: boolean;
|
25 | onExpand?: () => void;
|
26 | position?: string;
|
27 | drawerRef?: React.RefObject<HTMLDivElement>;
|
28 | isInline: boolean;
|
29 | }
|
30 | export declare const DrawerContext: React.Context<Partial<DrawerContextProps>>;
|
31 | export declare const Drawer: React.FunctionComponent<DrawerProps>;
|
32 |
|
\ | No newline at end of file |