UNPKG

1.35 kBTypeScriptView Raw
1import PropTypes from 'prop-types';
2import React from 'react';
3export interface SlideDownTransitionProps {
4 in: boolean;
5 innerClassName?: string;
6 dropUp?: boolean;
7 onExit?: () => void;
8 onExited?: () => void;
9 onEntering?: () => void;
10 onEntered?: () => void;
11 className?: string;
12}
13declare class SlideDownTransition extends React.Component<SlideDownTransitionProps> {
14 static propTypes: {
15 in: PropTypes.Validator<boolean>;
16 innerClassName: PropTypes.Requireable<string>;
17 dropUp: PropTypes.Requireable<boolean>;
18 onExit: PropTypes.Requireable<(...args: any[]) => any>;
19 onExited: PropTypes.Requireable<(...args: any[]) => any>;
20 onEntering: PropTypes.Requireable<(...args: any[]) => any>;
21 onEntered: PropTypes.Requireable<(...args: any[]) => any>;
22 };
23 getHeight(container: HTMLElement): number;
24 setContainerHeight: (elem: HTMLElement) => void;
25 clearContainerHeight: (elem: HTMLElement) => void;
26 handleEntered: (elem: HTMLElement) => void;
27 handleEntering: () => void;
28 handleExit: (elem: HTMLElement) => void;
29 handleExited: (elem: HTMLElement) => void;
30 handleTransitionEnd: (el: HTMLElement, done: () => void) => void;
31 render(): JSX.Element;
32}
33export default SlideDownTransition;
34//# sourceMappingURL=SlideDownTransition.d.ts.map
\No newline at end of file