UNPKG

@erosnicolau/animated-text

Version:

Advanced React animated text component with comprehensive animation effects

18 lines 1.11 kB
import { AnimationType, ComposableEffect, PhraseStyle } from '../types'; /** * Check if any fontSize effects are configured to avoid Tailwind class conflicts */ export declare const hasFontSizeEffects: (animation: AnimationType, blockEffect: ComposableEffect, phraseStyles?: PhraseStyle[], wordEffect?: ComposableEffect, typewriterEffect?: ComposableEffect, wordTypewriterEffect?: ComposableEffect) => boolean; /** * Check if any lineHeight effects are configured to avoid Tailwind class conflicts */ export declare const hasLineHeightEffects: (animation: AnimationType, blockEffect: ComposableEffect, phraseStyles?: PhraseStyle[], wordEffect?: ComposableEffect, typewriterEffect?: ComposableEffect, wordTypewriterEffect?: ComposableEffect) => boolean; /** * Detect Tailwind font-size classes specifically in className prop */ export declare const hasFontSizeClasses: (className: string) => boolean; /** * Detect any Tailwind font classes in className prop (for legacy compatibility) */ export declare const hasFontClasses: (className: string) => boolean; //# sourceMappingURL=effectDetection.d.ts.map