@arolariu/components
Version:
🎨 70+ beautiful, accessible React components built on Radix UI. TypeScript-first, tree-shakeable, SSR-ready. Perfect for modern web apps, design systems & rapid prototyping. Zero config, maximum flexibility! ⚡
12 lines • 561 B
TypeScript
import { type HTMLMotionProps, type Transition, type UseInViewOptions } from "motion/react";
import * as React from "react";
interface HighlightTextProps extends HTMLMotionProps<"span"> {
text: string;
inView?: boolean;
inViewMargin?: UseInViewOptions["margin"];
inViewOnce?: boolean;
transition?: Transition;
}
declare const HighlightText: React.ForwardRefExoticComponent<Omit<HighlightTextProps, "ref"> & React.RefAttributes<HTMLSpanElement>>;
export { HighlightText, type HighlightTextProps };
//# sourceMappingURL=highlight-text.d.ts.map