UNPKG

@uva-glass/component-library

Version:

React components UvA

31 lines (30 loc) 677 B
import { jsx as t } from "react/jsx-runtime"; import { fn as r } from "../../index-DXR-TB1d.js"; import { TextArea as e } from "./TextArea.js"; const o = ` <TextArea label={label} maxCharacters={maxCharacters} /> `, x = { title: "Atoms/TextArea", component: e, argTypes: { label: { control: "text" }, maxCharacters: { control: "number" } }, parameters: { inspectComponent: e, codeString: o } }, m = (a) => /* @__PURE__ */ t(e, { ...a }), n = m.bind({}); n.args = { label: "Sample label", maxCharacters: 140, onChange: r() }; export { n as TextAreaExample, x as default }; //# sourceMappingURL=TextArea.stories.js.map