category: packages
fx-motion
Components
The fx-motion
package contains the following:
Installation
yarn add @temporg/fx-motion
Usage
import React from 'react'
import { Heading } from '@temporg/ui-heading'
import { Transition } from '@temporg/fx-motion'
const HeadingWithTransition = () => {
return (
<Transition transitionOnMount in>
<Heading>Hi there!</Heading>
</Transition>
)
}