@arolariu/components
Version:
A collection of reusable components for React applications, built as ESM & CJS modules with tree shake, minify and bundler optimizations enabled, for the lowest bundle size (import cost)! 😍
11 lines (10 loc) • 416 B
TypeScript
import * as React from "react";
import { type Transition } from "motion/react";
interface GradientTextProps extends React.HTMLAttributes<HTMLSpanElement> {
text: string;
gradient?: string;
neon?: boolean;
transition?: Transition;
}
declare const GradientText: React.ForwardRefExoticComponent<GradientTextProps & React.RefAttributes<HTMLSpanElement>>;
export { GradientText, type GradientTextProps };