/* eslint-disable */ import { forwardRef, HTMLAttributes, LegacyRef } from "react"; import { cn } from "@/lib/utils"; type DividerProps = HTMLAttributes & { text?: string; }; const Divider = forwardRef( ({ className, text, ...props }: DividerProps, ref): JSX.Element => { return ( } className={cn("flex items-center justify-center", className)} {...props} > {text !== undefined && ( {text} )} ); } ); Divider.displayName = "AnimatedCard"; export { Divider };
{text}