react-widgets
Version:
An à la carte set of polished, extensible, and accessible inputs built for React
35 lines • 1.31 kB
TypeScript
import PropTypes from 'prop-types';
import React from 'react';
export interface SlideDownTransitionProps {
in: boolean;
innerClassName?: string;
dropUp?: boolean;
onExit?: () => void;
onExited?: () => void;
onEntering?: () => void;
onEntered?: () => void;
className?: string;
}
declare class SlideDownTransition extends React.Component<SlideDownTransitionProps> {
static propTypes: {
in: PropTypes.Validator<boolean>;
innerClassName: PropTypes.Requireable<string>;
dropUp: PropTypes.Requireable<boolean>;
onExit: PropTypes.Requireable<(...args: any[]) => any>;
onExited: PropTypes.Requireable<(...args: any[]) => any>;
onEntering: PropTypes.Requireable<(...args: any[]) => any>;
onEntered: PropTypes.Requireable<(...args: any[]) => any>;
};
nodeRef: React.RefObject<HTMLElement>;
getHeight(container: HTMLElement): number;
setContainerHeight: () => void;
clearContainerHeight: (elem: HTMLElement) => void;
handleEntered: () => void;
handleEntering: () => void;
handleExit: () => void;
handleExited: () => void;
handleTransitionEnd: (done: () => void) => void;
render(): JSX.Element;
}
export default SlideDownTransition;
//# sourceMappingURL=SlideDownTransition.d.ts.map