UNPKG

@humanspeak/svelte-motion

Version:

Framer Motion for Svelte 5. Declarative motion.<tag> components with AnimatePresence exit animations, gestures (hover, tap, drag, focus, in-view), variants, FLIP layout animations, shared-layout transitions, spring physics, and scroll-linked motion values

9 lines (8 loc) 283 B
import type { Snippet } from 'svelte'; type $$ComponentProps = { present?: boolean; children?: Snippet; }; declare const PresenceChild: import("svelte").Component<$$ComponentProps, {}, "">; type PresenceChild = ReturnType<typeof PresenceChild>; export default PresenceChild;