motiondivision / motion

A modern animation library for React and JavaScript
https://motion.dev
MIT License
25.66k stars 842 forks source link

[BUG] Documentation mismatch: `domAnimations` vs `domAnimation` export name #2856

Open CodeWithAlamin opened 2 weeks ago

CodeWithAlamin commented 2 weeks ago

Description

There's a discrepancy between the documentation and actual implementation regarding the domAnimations export.

Current Behavior

TypeScript shows error:


import { domAnimations } from "framer-motion"
// Error: '"framer-motion"' has no exported member named 'domAnimations'