mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-25 09:55:15 +00:00
9 lines
531 B
TypeScript
9 lines
531 B
TypeScript
import React from 'react';
|
|
import Transition, { TransitionProps, TransitionStatus } from 'react-transition-group/Transition';
|
|
export declare type TransitionWrapperProps = TransitionProps & {
|
|
childRef?: React.Ref<unknown>;
|
|
children: React.ReactElement | ((status: TransitionStatus, props: Record<string, unknown>) => React.ReactNode);
|
|
};
|
|
declare const TransitionWrapper: React.ForwardRefExoticComponent<Pick<TransitionWrapperProps, string | number> & React.RefAttributes<Transition<any>>>;
|
|
export default TransitionWrapper;
|