UNPKG

framer-motion

Version:

A simple and powerful JavaScript animation library

10 lines (7 loc) 264 B
import { useContext } from 'react'; import { PresenceContext } from '../../context/PresenceContext.mjs'; function usePresenceData() { const context = useContext(PresenceContext); return context ? context.custom : undefined; } export { usePresenceData };