import { jsx as n } from "react/jsx-runtime";
import { c as o } from "../../../../index-xVF7D3FM.js";
import { cn as i } from "../../../../utils/functions.js";
import "../../../../clsx-7d8NmkQq.js";
const _ = o("_font-main _text-center _w-fit _rounded-3xl _py-1 _px-2 _text-base _font-medium _border", {
  variants: {
    variant: {
      error: " _bg-rose-100/20 _text-red-800",
      blank: "_bg-zinc-100/20 _text-black",
      success: "_bg-emerald-300/20  _text-green-800",
      purple: "_bg-indigo-200/20 _text-indigo-700",
      orange: "_bg-red-100/20 _text-orange-800",
      info: "_bg-sky-100/20 _text-blue-600"
    },
    border: {
      none: "_border-transparent",
      color: "_border-current"
    }
  },
  defaultVariants: {
    variant: "blank",
    border: "none"
  }
}), g = ({ options: r, className: a, variant: b, ...t }) => {
  const { infotoshow: e = void 0 } = { ...t };
  return /* @__PURE__ */ n(
    "div",
    {
      className: i(_({ variant: r[`${e}`].variant ?? "blank", border: r[`${e}`].border }), a),
      ...t,
      children: r[`${e}`].label
    }
  );
};
export {
  g as default
};
