@erosnicolau/animated-text
Version:
Advanced React animated text component with comprehensive animation effects
12 lines • 637 B
TypeScript
import { AnimationTiming, PhraseStyle } from '../types';
interface AnimatedPhraseProps {
phraseIndex: number;
content: string;
phraseStyles?: PhraseStyle[];
animatedItems: Set<number>;
timingDefaults: AnimationTiming;
globalVerticalAlign?: 'top' | 'middle' | 'bottom' | 'baseline' | 'text-top' | 'text-bottom';
}
declare const AnimatedPhrase: import("react").MemoExoticComponent<({ phraseIndex, content, phraseStyles, animatedItems, timingDefaults, globalVerticalAlign }: AnimatedPhraseProps) => import("react/jsx-runtime").JSX.Element>;
export default AnimatedPhrase;
//# sourceMappingURL=AnimatedPhrase.d.ts.map