forked from qburst/reactstrap
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCollapse.d.ts
More file actions
32 lines (29 loc) · 784 Bytes
/
Copy pathCollapse.d.ts
File metadata and controls
32 lines (29 loc) · 784 Bytes
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 * as React from 'react';
import { CSSModule } from './utils';
export interface CollapseProps extends React.HTMLAttributes<HTMLElement> {
[key: string]: any;
isOpen?: boolean;
cssModule?: CSSModule;
tag?: React.ElementType;
horizontal?: boolean;
navbar?: boolean;
delay?: {
show: number;
hide: number;
};
onOpened?: () => void;
onClosed?: () => void;
onEntering?: () => void;
onEntered?: () => void;
onExit?: () => void;
onExiting?: () => void;
onExited?: () => void;
innerRef?: React.Ref<HTMLElement>;
}
export interface UncontrolledCollapseProps extends CollapseProps {
defaultOpen?: boolean;
toggler: string;
toggleEvents?: string[];
}
declare class Collapse extends React.Component<CollapseProps> {}
export default Collapse;