"use client"; import { cn } from "@/lib/utils"; type TColorProp = string | string[]; interface ShineBorderProps { borderRadius?: number; borderWidth?: number; duration?: number; color?: TColorProp; className?: string; children: React.ReactNode; } /** * @name Shine Border * @description It is an animated background border effect component with easy to use and configurable props. * @param borderRadius defines the radius of the border. * @param borderWidth defines the width of the border. * @param duration defines the animation duration to be applied on the shining border * @param color a string or string array to define border color. * @param className defines the class name to be applied to the component * @param children nodes to be rendered in the center of the component */ export function ShineBorder({ borderRadius = 8, borderWidth = 1, duration = 14, color = "#000000", className, children, }: ShineBorderProps) { return (