UNPKG

@uva-glass/component-library

Version:

React components UvA

51 lines (50 loc) 997 B
import { jsx as n } from "react/jsx-runtime"; import { Input as a } 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}/> `, d = { title: "Atoms/Input", component: a, argTypes: { appearance: { table: { disable: !0 } }, type: { control: "inline-radio" } }, args: { id: "30daa7c7", type: "text", disabled: !1, placeholder: "" }, parameters: { inspectComponent: a, codeString: r } }, e = (t) => /* @__PURE__ */ n(a, { ...t }), p = e.bind({}); p.args = {}; const l = e.bind({}); l.args = { fullWidth: !0 }; const o = e.bind({}); o.args = { isNumeric: !0 }; const s = e.bind({}); s.args = { appearance: "error" }; export { l as FullWidth, p as InputExample, o as Numeric, s as WithErrorAppearance, d as default }; //# sourceMappingURL=Input.stories.js.map