@ssgoi/react
Version:
React bindings for SSGOI - Native app-like page transitions for React applications
10 lines (9 loc) • 381 B
TypeScript
import { ReactNode, ElementType } from 'react';
type SsgoiTransitionProps<T extends ElementType = "div"> = {
children: ReactNode;
id: string;
as?: T;
className?: string;
};
export declare const SsgoiTransition: <T extends ElementType = "div">({ children, id, as, className, ...rest }: SsgoiTransitionProps<T>) => import("react/jsx-runtime").JSX.Element;
export {};