Module "frontend-packages/react-cookie-banner/src/components/animateCss"
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
-
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
Ported from https://www.npmjs.com/package/react-animated-css due to high bundle size.