UNPKG

svelte-motion

Version:

Svelte animation library based on the React library framer-motion.

17 lines (16 loc) 540 B
/** based on framer-motion@4.1.17, Copyright (c) 2018 Framer B.V. */ 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 {};