UNPKG

@uva-glass/component-library

Version:

React components UvA

44 lines (43 loc) 1.13 kB
import { jsx as e, jsxs as i, Fragment as n } from "react/jsx-runtime"; import { Repeater as t } from "./Repeater.js"; import { Container as o } from "../../storyComponents/Container/Container.js"; const l = "<Repeater flexDirection={flexDirection} gap={gap}>{children}</Repeater>", d = { title: "Atoms/Repeater", component: t, argTypes: { flexDirection: { control: { type: "select" } }, gap: { control: { type: "select", sort: !1 } }, children: { table: { disable: !0 } } }, parameters: { inspectComponent: t, codeString: l } }, a = (r) => /* @__PURE__ */ e(o, { children: /* @__PURE__ */ e(t, { ...r }) }), p = a.bind({}); p.args = { flexDirection: "column", gap: "050", children: /* @__PURE__ */ i(n, { children: [ /* @__PURE__ */ e("div", { children: "Example item 1" }), /* @__PURE__ */ e("div", { children: "Example item 2" }), /* @__PURE__ */ e("div", { children: "Example item 3" }) ] }) }; export { p as RepeaterExample, d as default }; //# sourceMappingURL=Repeater.stories.js.map