0.3.0 • Published 7 months ago

@hashicorp/react-motion-config v0.3.0

Weekly downloads
-
License
MPL-2.0
Repository
github
Last release
7 months ago

MotionConfig

MotionConfig handles lazing loading Framer Motion features. By default, we are including domMax to enable layout animations.

Usage

// _app.tsx
import MotionConfig from '@hashicorp/react-motion-config'

export default function App({ Component, pageProps }) {
  return (
    <MotionConfig>
      <Component {...pageProps} />
    </MotionConfig>
  )
}