react-pose-15
Version:
A declarative animation library for React 15+
15 lines (14 loc) • 430 B
TypeScript
import * as React from 'react';
import { Props, State } from './types';
declare const _default: (props: Props, state: State) => {
displayedChildren?: React.ReactElement<any>[];
finishedLeaving?: {
[key: string]: boolean;
};
hasInitialized: boolean;
indexedChildren?: {
[key: string]: React.ReactElement<any>;
};
scheduleChildRemoval?: (key: string) => void;
};
export default _default;