@arwes/text
Version:
Futuristic Sci-Fi UI Web Framework
12 lines (11 loc) • 330 B
TypeScript
import type { Easing } from '@arwes/animated';
export type AnimateTextManager = 'sequence' | 'decipher';
export type AnimateTextProps = {
rootElement: HTMLElement;
contentElement: HTMLElement;
duration: number;
easing?: Easing;
isEntering?: boolean;
hideOnExited?: boolean;
hideOnEntered?: boolean;
};