UNPKG

@uva-glass/component-library

Version:

React components UvA

25 lines (24 loc) 729 B
import { jsx as s } from "react/jsx-runtime"; import { c as n } from "../../clsx-OuTLNxxd.js"; import '../../assets/Label.css';const _ = "_label_i3lyd_1", l = { label: _, "label--required": "_label--required_i3lyd_6", "label--unset-font-weight": "_label--unset-font-weight_i3lyd_14", "label--align-right": "_label--align-right_i3lyd_18" }, d = ({ children: e, htmlFor: a, noFontWeight: t, required: i = !1, alignRight: b, ...r }) => /* @__PURE__ */ s( "label", { ...r, htmlFor: a, className: n(l.label, { [l["label--unset-font-weight"]]: t, [l["label--required"]]: i, [l["label--align-right"]]: b }), children: e } ); export { d as Label }; //# sourceMappingURL=Label.js.map