-
Notifications
You must be signed in to change notification settings - Fork 8
/
Drawer.d.ts
32 lines (24 loc) · 912 Bytes
/
Drawer.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
import {
Component,
ReactNode
} from 'react'
import {
SimpleBaseProps
} from './Base'
export interface DrawerProps extends SimpleBaseProps<Drawer> {
open?: boolean;
onClose?: (evt: Event) => any;
onOpen?: (evt: Event) => any;
permanent?: boolean;
persistent?: boolean;
temporary?: boolean;
}
export interface DrawerToolbarSpacerProps extends SimpleBaseProps<DrawerToolbarSpacer> { }
export interface DrawerHeaderProps extends SimpleBaseProps<DrawerHeader> {
children?: ReactNode
}
export interface DrawerContentProps extends SimpleBaseProps<DrawerContent> { }
export class Drawer extends Component<DrawerProps> { }
export class DrawerToolbarSpacer extends Component<DrawerToolbarSpacerProps> { }
export class DrawerHeader extends Component<DrawerHeaderProps> { }
export class DrawerContent extends Component<DrawerContentProps> { }