UNPKG

732 BTypeScriptView Raw
1import * as React from "react";
2import { TransitionCallbacks } from "react-bootstrap";
3
4declare namespace Collapse {
5 export interface CollapseProps extends TransitionCallbacks, React.ClassAttributes<Collapse> {
6 children?: React.ReactNode;
7 dimension?: "height" | "width" | { (): string } | undefined;
8 getDimensionValue?: ((dimension: number, element: React.ReactElement) => number) | undefined;
9 in?: boolean | undefined;
10 timeout?: number | undefined;
11 transitionAppear?: boolean | undefined;
12 mountOnEnter?: boolean | undefined;
13 unmountOnExit?: boolean | undefined;
14 }
15}
16declare class Collapse extends React.Component<Collapse.CollapseProps> {}
17export = Collapse;
18
\No newline at end of file