-
Notifications
You must be signed in to change notification settings - Fork 32
/
react-collapsible_v2.0.x.js
39 lines (37 loc) · 1.1 KB
/
react-collapsible_v2.0.x.js
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
33
34
35
36
37
38
39
// flow-typed signature: 4d0e3beb9327176f2e78be75bf618efc
// flow-typed version: 41cec91915/react-collapsible_v2.0.x/flow_>=v0.54.x
declare module "react-collapsible" {
declare type Props = {
trigger: string | React$Node,
triggerWhenOpen?: string | React$Node,
triggerDisabled?: false,
transitionTime?: number,
easing?: string,
open?: boolean,
accordionPosition?: string,
handleTriggerClick?: (accordionPosition?: string | number) => void,
onOpen?: () => void,
onClose?: () => void,
onOpening?: () => void,
onClosing?: () => void,
lazyRender?: boolean,
overflowWhenOpen?:
| "hidden"
| "visible"
| "auto"
| "scroll"
| "inherit"
| "initial"
| "unset",
triggerSibling?: React$Node,
classParentString?: string,
className?: string,
openedClassName?: string,
triggerClassName?: string,
triggerOpenedClassName?: string,
contentOuterClassName?: string,
contentInnerClassName?: string
};
declare class Collapsible extends React$Component<Props> {}
declare module.exports: typeof Collapsible;
}