react-awesome-reveal
Version:
React components to add reveal animations using the Intersection Observer API and CSS Animations.
18 lines (16 loc) • 509 B
TypeScript
import { RevealProps } from '../Reveal';
type FlipDirection = "horizontal" | "vertical";
export interface FlipProps extends Omit<RevealProps, "keyframes"> {
/**
* Axis direction of the animation.
* @default undefined
*/
direction?: FlipDirection;
/**
* Specifies if the animation should make element(s) disappear. It only has effect if a direction is specified.
* @default false
*/
reverse?: boolean;
}
export declare const Flip: React.FC<FlipProps>;
export {};