/* eslint-disable */ import { forwardRef, HTMLAttributes, LegacyRef } from "react"; import { cn } from "@/lib/utils"; type DividerProps = HTMLAttributes & { text?: string; textClassName?: string; separatorClassName?: string; }; const Divider = forwardRef( ( { className, separatorClassName, textClassName, 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}