Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "frontend-packages/react-cookie-banner/src/components/animateCss"

Index

Functions

Const AnimatedCss

  • AnimatedCss(__namedParameters: { animateOnMount: boolean; animationIn: string; animationInDelay: number; animationInDuration: number; animationOut: string; animationOutDelay: number; animationOutDuration: number; children: ReactNode; className: string; isVisible: boolean; style: CSSProperties }): Element
  • Ported from https://www.npmjs.com/package/react-animated-css due to high bundle size.

    Parameters

    • __namedParameters: { animateOnMount: boolean; animationIn: string; animationInDelay: number; animationInDuration: number; animationOut: string; animationOutDelay: number; animationOutDuration: number; children: ReactNode; className: string; isVisible: boolean; style: CSSProperties }
      • animateOnMount: boolean
      • animationIn: string
      • animationInDelay: number
      • animationInDuration: number
      • animationOut: string
      • animationOutDelay: number
      • animationOutDuration: number
      • children: ReactNode
      • className: string
      • isVisible: boolean
      • style: CSSProperties

    Returns Element

getAnimationRelatedState

  • getAnimationRelatedState(__namedParameters: { animationIn: string; animationInDelay: number; animationInDuration: number; animationOut: string; animationOutDelay: number; animationOutDuration: number; isVisible: boolean }): { animation: string; delay: number; duration: number }
  • Parameters

    • __namedParameters: { animationIn: string; animationInDelay: number; animationInDuration: number; animationOut: string; animationOutDelay: number; animationOutDuration: number; isVisible: boolean }
      • animationIn: string
      • animationInDelay: number
      • animationInDuration: number
      • animationOut: string
      • animationOutDelay: number
      • animationOutDuration: number
      • isVisible: boolean

    Returns { animation: string; delay: number; duration: number }

    • animation: string
    • delay: number
    • duration: number

Generated using TypeDoc