UNPKG

react-awesome-reveal

Version:

React components to add reveal animations using the Intersection Observer API and CSS Animations.

13 lines (11 loc) 517 B
import { RevealProps } from '../Reveal'; type AttentionSeekerEffect = "bounce" | "flash" | "headShake" | "heartBeat" | "jello" | "pulse" | "rubberBand" | "shake" | "shakeX" | "shakeY" | "swing" | "tada" | "wobble"; export interface AttentionSeekerProps extends Omit<RevealProps, "keyframes"> { /** * The animation effect to use for this attention seeker. * @default "bounce" */ effect?: AttentionSeekerEffect; } export declare const AttentionSeeker: React.FC<AttentionSeekerProps>; export {};