framer-motion
Version:
A simple and powerful React animation library
13 lines (12 loc) • 470 B
TypeScript
import * as React from "react";
import { VariantLabels } from "../../motion/types";
interface PresenceChildProps {
children: React.ReactElement<any>;
isPresent: boolean;
onExitComplete?: () => void;
initial?: false | VariantLabels;
custom?: any;
presenceAffectsLayout: boolean;
}
export declare const PresenceChild: ({ children, initial, isPresent, onExitComplete, custom, presenceAffectsLayout, }: PresenceChildProps) => JSX.Element;
export {};