react-textmotion
Version:
Lightweight yet powerful library that provides variable animation effects for React applications.
7 lines (6 loc) • 474 B
TypeScript
/**
* @description
* A list of predefined animation presets that can be used with the `TextMotion` and `NodeMotion` components.
* Each preset corresponds to a specific animation configuration.
*/
export type AnimationPreset = 'fade-in' | 'fade-out' | 'slide-up' | 'slide-down' | 'slide-left' | 'slide-right' | 'scale-in' | 'scale-out' | 'rotate-clockwise' | 'rotate-counterclockwise' | 'bounce-in' | 'bounce-out' | 'elastic-in' | 'elastic-out' | 'flip-in' | 'flip-out';