1 | import * as React from 'react';
|
2 | import Transition from 'react-transition-group/Transition';
|
3 | import { TransitionCallbacks } from '@restart/ui/types';
|
4 | export 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 | transitionClasses?: Record<string, string>;
|
13 | }
|
14 | declare const Fade: React.ForwardRefExoticComponent<FadeProps & React.RefAttributes<Transition<any>>>;
|
15 | export default Fade;
|