UNPKG

react-glowing-text

Version:

The `GlowingText` component is a React functional component using `framer-motion` to create a glowing text effect that reacts to mouse movement like the text "GROK" on x.ai.

15 lines 577 B
import { AnimationProps } from "framer-motion"; import React, { CSSProperties } from "react"; interface GlowingTextProps { text: string; animationProps?: AnimationProps | undefined; style?: CSSProperties | undefined; textStyle?: CSSProperties | undefined; borderColorStyle?: string | undefined; motionBorderColorStyle?: string | undefined; textStrokeWidth?: string | undefined; radialGradientSize?: string | undefined; } declare const GlowingText: React.FC<GlowingTextProps>; export default GlowingText; //# sourceMappingURL=GlowingText.d.ts.map