framer-motion
Version:
An open source and production-ready motion library for React on the web
18 lines (17 loc) • 436 B
TypeScript
/// <reference types="react" />
import { VariantLabels } from "../../motion/types";
/**
* @public
*/
export interface PresenceContextProps {
id: number;
isPresent: boolean;
register: (id: number) => () => void;
onExitComplete?: (id: number) => void;
initial?: false | VariantLabels;
custom?: any;
}
/**
* @public
*/
export declare const PresenceContext: import("react").Context<PresenceContextProps | null>;