@uva-glass/component-library
Version:
React components UvA
39 lines (38 loc) • 761 B
JavaScript
import { jsx as r } from "react/jsx-runtime";
import { Label as t } from "./Label.js";
const a = `
// Has all LabelHTMLAttributes props available except "className" and "style"
<Label htmlFor={htmlFor}>{children}</Label>
`, i = {
title: "Atoms/Label",
component: t,
argTypes: {
htmlFor: {
control: "text"
},
children: {
control: "text"
}
},
parameters: {
inspectComponent: t,
codeString: a
}
}, e = (l) => /* @__PURE__ */ r(t, { ...l }), o = {
children: "Lorem Ipsum",
htmlFor: "bd79f7ec"
}, s = e.bind({});
s.args = {
...o
};
const n = e.bind({});
n.args = {
...o,
noFontWeight: !0
};
export {
s as LabelExample,
n as WithNoFontWeight,
i as default
};
//# sourceMappingURL=Label.stories.js.map