react-awesome-reveal
Version:
React components to add reveal animations using the Intersection Observer API and CSS Animations.
18 lines (16 loc) • 470 B
TypeScript
import { RevealProps } from '../Reveal';
type BounceDirection = "down" | "left" | "right" | "up";
export interface BounceProps extends Omit<RevealProps, "keyframes"> {
/**
* Origin of the animation.
* @default undefined
*/
direction?: BounceDirection;
/**
* Specifies if the animation should make element(s) disappear.
* @default false
*/
reverse?: boolean;
}
export declare const Bounce: React.FC<BounceProps>;
export {};