UNPKG

xlibs-components

Version:

Modern React component library with Aceternity, MagicUI, and ShadCN components for building beautiful web applications

22 lines 1.03 kB
type CharacterSet = string[] | readonly string[]; interface HyperTextProps extends React.HTMLAttributes<HTMLElement> { /** The text content to be animated */ children: string; /** Optional className for styling */ className?: string; /** Duration of the animation in milliseconds */ duration?: number; /** Delay before animation starts in milliseconds */ delay?: number; /** Component to render as - defaults to div */ as?: React.ElementType; /** Whether to start animation when element comes into view */ startOnView?: boolean; /** Whether to trigger animation on hover */ animateOnHover?: boolean; /** Custom character set for scramble effect. Defaults to uppercase alphabet */ characterSet?: CharacterSet; } export declare function HyperText({ children, className, duration, delay, as: Component, startOnView, animateOnHover, characterSet, ...props }: HyperTextProps): import("react/jsx-runtime").JSX.Element; export {}; //# sourceMappingURL=hyper-text.d.ts.map