@cgi-learning-hub/ui
Version:
@cgi-learning-hub/ui is an open-source React component library that implements UI for HUB's features
56 lines (55 loc) • 1.13 kB
JavaScript
import { jsx as o } from "react/jsx-runtime";
import { c as e } from "../../createSvgIcon-DFIM5PqN.js";
import { I as l } from "../../IconButton-DBjiNqOa.js";
const s = e(/* @__PURE__ */ o("path", {
d: "M5 13.18v4L12 21l7-3.82v-4L12 17zM12 3 1 9l11 6 9-4.91V17h2V9z"
}), "School"), r = {
title: "Components/IconButton",
component: l,
argTypes: {
color: {
control: "select",
options: [
"inherit",
"default",
"primary",
"secondary",
"error",
"info",
"success",
"warning"
]
},
disabled: {
control: "boolean"
},
disableFocusRipple: {
control: "boolean"
},
disableRipple: {
control: "boolean"
},
edge: {
control: "radio",
options: ["end", "start", !1]
},
size: {
control: "radio",
options: ["small", "medium", "large"]
}
}
}, i = {
args: {
children: /* @__PURE__ */ o(s, {}),
color: "default",
disabled: !1,
disableFocusRipple: !1,
disableRipple: !1,
edge: !1,
size: "medium"
}
};
export {
i as Default,
r as default
};