framer-motion#TargetAndTransition TypeScript Examples

The following examples show how to use framer-motion#TargetAndTransition. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: common.ts    From chroma-react with MIT License 5 votes vote down vote up
BETA_ANIMATE_TRANSITION: TargetAndTransition = {
  opacity: 1,
  transition: {
    duration: inDurationSecondary,
    delay: delaySecondary,
  },
}
Example #2
Source File: common.ts    From chroma-react with MIT License 5 votes vote down vote up
BETA_EXIT_TRANSITION: TargetAndTransition = {
  opacity: 1,
  transition: {
    duration: outDurationSecondary,
    delay: delaySecondary,
  },
}
Example #3
Source File: common.ts    From chroma-react with MIT License 5 votes vote down vote up
PLUS_ANIMATE_TRANSITION: TargetAndTransition = {
  opacity: 1,
  transition: {
    duration: inDurationSecondary,
    delay: delaySecondary,
  },
}
Example #4
Source File: common.ts    From chroma-react with MIT License 5 votes vote down vote up
PLUS_EXIT_TRANSITION: TargetAndTransition = {
  opacity: 0,
  transition: {
    duration: outDurationSecondary,
    delay: delaySecondary,
  },
}