GradientText
Used to display a colorful gradient text.
This is the GradientText component
Props:
content
Description: Text content. Type: String. Required.
initialColor
Description: Initial color to render gradient. Type: String. Required.
finalColor
Description: Final color to render gradient. Type: String. Required.
direction
Description: Gradient direction. Type: "left-to-right" | "right-to-left" | "top-to-bottom" | "bottom-to-top". Required.
style
Description: Style. Type: CSS Properties.
className
Description: ClassName. Type: String.
Code
<GradientTextComponent direction='left-to-right' initialColor='#0088ff' finalColor='#4fd934' content='This is the GradientText component' />