@uva-glass/component-library
Version:
React components UvA
49 lines (48 loc) • 958 B
JavaScript
import { jsx as n } from "react/jsx-runtime";
import { Input as t } from "./Input.js";
const r = `
// Has all HTMLInputElement props available except "className" and "style"
<Input id={id} type={type} aria-label={aria-label} onChange={onChangeFunction} value={value}/>
`, u = {
title: "Atoms/Input",
component: t,
argTypes: {
appearance: {
table: {
disable: !0
}
},
type: {
control: "inline-radio"
}
},
args: {
id: "30daa7c7",
type: "text"
},
parameters: {
inspectComponent: t,
codeString: r
}
}, e = (a) => /* @__PURE__ */ n(t, { ...a }), p = e.bind({});
p.args = {};
const o = e.bind({});
o.args = {
fullWidth: !0
};
const i = e.bind({});
i.args = {
isNumeric: !0
};
const s = e.bind({});
s.args = {
appearance: "error"
};
export {
o as FullWidth,
p as InputExample,
i as Numeric,
s as WithErrorAppearance,
u as default
};
//# sourceMappingURL=Input.stories.js.map