@cgi-learning-hub/ui
Version:
@cgi-learning-hub/ui is an open-source React component library that implements UI for HUB's features
70 lines (69 loc) • 1.22 kB
JavaScript
import { jsx as o } from "react/jsx-runtime";
import { T as l } from "../../TextField-Ctx4aW6-.js";
const t = (e) => /* @__PURE__ */ o(l, { ...e }), n = {
title: "Components/TextField",
component: t,
argTypes: {
color: {
control: "select",
options: ["primary", "secondary", "error", "info", "success", "warning"]
},
disabled: {
control: "boolean"
},
error: {
control: "boolean"
},
fullWidth: {
control: "boolean"
},
helperText: {
control: "text"
},
label: {
control: "text"
},
multiline: {
control: "boolean"
},
placeholder: {
control: "text"
},
variant: {
control: "select",
options: ["standard", "outlined", "filled"]
}
},
args: {
color: "primary",
disabled: !1,
error: !1,
fullWidth: !1,
helperText: void 0,
label: "Label",
multiline: !1,
placeholder: void 0,
variant: "outlined"
}
}, s = {
args: {}
}, i = {
args: {
variant: "filled"
}
}, d = {
args: {
variant: "standard"
}
}, c = {
args: {
disabled: !0
}
};
export {
s as Default,
c as Disabled,
i as Filled,
d as Standard,
n as default
};