GoScrobble/web/node_modules/react-bootstrap/esm/TransitionWrapper.d.ts

9 lines
531 B
TypeScript
Raw Normal View History

2022-04-25 02:47:15 +00:00
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;