soda-material
Version:
A component library that may follow [material design 3](https://m3.material.io/components) (a.k.a. material you)
12 lines (11 loc) • 486 B
TypeScript
/// <reference types="react" />
/**
* [Experimental]: This component use ref to toggle transition.
*/
export declare const ViewTransition: import("react").ForwardRefExoticComponent<{
children?: React.ReactNode;
style?: import("react").CSSProperties | undefined;
className?: string | undefined;
} & Omit<import("react").HTMLProps<HTMLElement>, "ref" | "className" | "style" | "children"> & import("react").RefAttributes<{
replace(children: React.ReactNode): void;
}>>;