@uva-glass/component-library
Version:
React components UvA
30 lines (29 loc) • 855 B
JavaScript
import { jsx as e } from "react/jsx-runtime";
import { Backdrop as o } from "./Backdrop.js";
import { Container as n } from "../../storyComponents/Container/Container.js";
import '../../assets/Backdrop2.css';const t = "<Backdrop>{children}</Backdrop>", p = {
title: "Atoms/Backdrop",
component: o,
argTypes: {
children: {
control: "text"
},
visible: {
control: "boolean",
name: "Show Backdrop"
}
},
parameters: {
inspectComponent: o,
codeString: t
}
}, i = (r) => /* @__PURE__ */ e(n, { visible: r.visible, children: /* @__PURE__ */ e(o, { children: /* @__PURE__ */ e("div", { className: "container", children: r.children }) }) }), c = i.bind({});
c.args = {
visible: !0,
children: "Dummy Overlay"
};
export {
c as BackdropExample,
p as default
};
//# sourceMappingURL=Backdrop.stories.js.map