@cgi-learning-hub/ui
Version:
@cgi-learning-hub/ui is an open-source React component library that implements UI for HUB's features
78 lines (77 loc) • 1.23 kB
JavaScript
import { C as l } from "../../Chip-DmjZbx_X.js";
const e = {
title: "Components/Chip",
component: l,
argTypes: {
clickable: {
control: "boolean"
},
color: {
control: "select",
options: [
"default",
"primary",
"secondary",
"error",
"info",
"success",
"warning"
]
},
disabled: {
control: "boolean"
},
label: {
control: "text"
},
size: {
control: "radio",
options: ["medium", "small"]
},
skipFocusWhenDisabled: {
control: "boolean"
},
variant: {
control: "radio",
options: ["filled", "outlined"]
}
}
}, a = {
args: {
clickable: !1,
color: "default",
disabled: !1,
label: "Label",
size: "medium",
skipFocusWhenDisabled: !1,
variant: "filled"
}
}, s = {
args: {
label: "Label",
variant: "outlined"
}
}, r = {
args: {
label: "Label",
color: "primary"
}
}, n = {
args: {
label: "Label",
color: "secondary"
}
}, t = {
args: {
label: "Label",
disabled: !0
}
};
export {
a as Default,
t as Disabled,
s as Outlined,
r as Primary,
n as Secondary,
e as default
};