@uva-glass/component-library
Version:
React components UvA
44 lines (43 loc) • 1.05 kB
JavaScript
import { jsx as o } from "react/jsx-runtime";
import { Timeline as e } from "./Timeline.js";
import { MOCK_TIMELINE_ITEM as i } from "./mockTimelineItem.js";
const n = "<Timeline data=[] showLabel={string} hideLabel={string} />", c = {
title: "Organisms/Timeline",
component: e,
argTypes: {
timelineData: {
description: "Data for the timeline",
control: {
type: "object"
}
},
showLabel: {
description: "Label of the button if inclomplete tasks are hidden",
control: {
type: "text"
}
},
hideLabel: {
description: "Label of the button if inclomplete tasks are shown",
control: {
type: "text"
}
}
},
parameters: {
inspectComponent: e,
codeString: n
}
}, a = (t) => /* @__PURE__ */ o(e, { ...t }), s = {
timelineData: i,
showLabel: "Toon vervolgstappen",
hideLabel: "Verberg vervolgstappen"
}, l = a.bind({});
l.args = {
...s
};
export {
l as TimelineExample,
c as default
};
//# sourceMappingURL=Timeline.stories.js.map