Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
19 lines
798 B
Plaintext
19 lines
798 B
Plaintext
import * as React from 'react';
|
|
import { ComponentType, ReactNode } from 'react';
|
|
import { ExitHandler } from 'react-transition-group/Transition';
|
|
declare type FadeProps<ComponentProps> = {
|
|
component: ComponentType<ComponentProps>;
|
|
in?: boolean;
|
|
onExited?: ExitHandler<undefined | HTMLElement>;
|
|
duration?: number;
|
|
} & ComponentProps;
|
|
export declare const Fade: <ComponentProps extends {}>({ component: Tag, duration, in: inProp, onExited, ...props }: FadeProps<ComponentProps>) => React.JSX.Element;
|
|
export declare const collapseDuration = 260;
|
|
interface CollapseProps {
|
|
children: ReactNode;
|
|
in?: boolean;
|
|
onExited?: ExitHandler<undefined | HTMLElement>;
|
|
}
|
|
export declare const Collapse: ({ children, in: _in, onExited }: CollapseProps) => React.JSX.Element;
|
|
export {};
|