UNPKG

496 BTypeScriptView Raw
1import React from 'react';
2import Transition from 'react-transition-group/Transition';
3import { TransitionCallbacks } from './helpers';
4export interface FadeProps extends TransitionCallbacks {
5 className?: string;
6 in?: boolean;
7 mountOnEnter?: boolean;
8 unmountOnExit?: boolean;
9 appear?: boolean;
10 timeout?: number;
11 children: React.ReactElement;
12}
13declare const Fade: React.ForwardRefExoticComponent<FadeProps & React.RefAttributes<Transition<any>>>;
14export default Fade;