1 | import * as React from 'react';
|
2 | export declare const reflow: (node: Element) => number;
|
3 | interface ComponentProps {
|
4 | easing: string | {
|
5 | enter?: string;
|
6 | exit?: string;
|
7 | } | undefined;
|
8 | style: React.CSSProperties | undefined;
|
9 | timeout: number | {
|
10 | enter?: number;
|
11 | exit?: number;
|
12 | };
|
13 | }
|
14 | interface Options {
|
15 | mode: 'enter' | 'exit';
|
16 | }
|
17 | interface TransitionProps {
|
18 | duration: string | number;
|
19 | easing: string | undefined;
|
20 | delay: string | undefined;
|
21 | }
|
22 | export declare function getTransitionProps(props: ComponentProps, options: Options): TransitionProps;
|
23 | export {};
|