import clsx from "clsx"; import { Colors } from "~/application/enums/shared/Colors"; import { cn } from "~/lib/utils"; import { getBadgeColor, getBadgeColorDark } from "~/utils/shared/ColorUtils"; interface Props { title?: string; color: Colors; className?: string; children?: React.ReactNode; underline?: boolean; darkMode?: boolean; } export default function SimpleBadge({ title, color, className, children, underline, darkMode }: Props) { return (
{title ?? children}
); }