UNPKG

framer-motion

Version:

A simple and powerful JavaScript animation library

14 lines (11 loc) 459 B
import { makeUseVisualState } from '../../motion/utils/use-visual-state.mjs'; import { scrapeMotionValuesFromProps } from './utils/scrape-motion-values.mjs'; import { createHtmlRenderState } from './utils/create-render-state.mjs'; const htmlMotionConfig = { useVisualState: makeUseVisualState({ applyWillChange: true, scrapeMotionValuesFromProps, createRenderState: createHtmlRenderState, }), }; export { htmlMotionConfig };