import { label as e, requiredMark as t } from "./label.css.js";
import "react";
import { jsx as n, jsxs as r } from "react/jsx-runtime";
//#region src/atomic/atoms/label/Label.tsx
var i = (i) => {
	let { children: a, variant: o, size: s, required: c, ...l } = i, { className: u, ...d } = l, f = null;
	c === !0 && (f = /* @__PURE__ */ n("span", {
		className: t,
		children: "*"
	}));
	let p = [e({
		variant: o,
		size: s
	}), u].filter((e) => e != null && e !== "").join(" "), m;
	return p !== "" && (m = p), /* @__PURE__ */ r("label", {
		className: m,
		...d,
		children: [a, f]
	});
};
//#endregion
export { i as Label };

//# sourceMappingURL=Label.js.map