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