@uva-glass/component-library
Version:
React components UvA
54 lines (53 loc) • 1.45 kB
JavaScript
import { jsx as i } from "react/jsx-runtime";
import { Card as e } from "./Card.js";
const n = "<Card header={header}>{children}</Card>", d = {
title: "Atoms/Card",
component: e,
argTypes: {
highContrast: {
control: "boolean"
},
padding: {
control: {
type: "select",
options: ["small", "regular", "large"]
}
},
alignCenter: {
control: "boolean"
},
children: {
control: "text"
}
},
parameters: {
inspectComponent: e,
codeString: n
}
}, t = (r) => /* @__PURE__ */ i(e, { ...r }), a = {
padding: "regular",
highContrast: !1,
alignCenter: !1,
header: "Example Header"
}, o = t.bind({});
o.args = {
...a,
notification: ""
};
const s = t.bind({});
s.args = {
...a,
notification: "This is an example notification"
};
const h = t.bind({});
h.args = {
...a,
children: "Chuck Norris is the reason why Waldo is hiding Remember the Soviet Union? They decided to quit after watching a DeltaForce marathon on Satellite TV, Chuck Norris CAN eat soup with a fork Morgan Freeman is the only person that could narrate Chuck Norris's life, other than himself, The quickest way to a man's heart is with Chuck Norris' fist. Chuck Norris ran in Nascar and came in 1st place. Then again, Chuck Norris wins everything."
};
export {
o as CardExample,
h as WithChildren,
s as WithNotification,
d as default
};
//# sourceMappingURL=Card.stories.js.map