UNPKG

@uva-glass/component-library

Version:

React components UvA

31 lines (30 loc) 883 B
import { jsx as e } from "react/jsx-runtime"; import { fn as a } from "../../index-DXR-TB1d.js"; import { OverlayCloseButton as o } from "./OverlayCloseButton.js"; import { Container as l } from "../../storyComponents/Container/Container.js"; const n = "<OverlayCloseButton aria-label={aria-label} onClick={onClickFunction} />", c = { title: "Atoms/OverlayCloseButton", component: o, argTypes: { paddedModal: { control: "boolean" }, "aria-label": { control: "text" } }, parameters: { inspectComponent: o, codeString: n } }, r = (t) => /* @__PURE__ */ e(l, { size: "small", padded: !1, children: /* @__PURE__ */ e(o, { ...t }) }), s = r.bind({}); s.args = { paddedModal: !1, "aria-label": "Close", onClick: a() }; export { s as OverlayCloseButtonExample, c as default }; //# sourceMappingURL=OverlayCloseButton.stories.js.map