import React from "react"; import ModalTextAreaField from "../../app/(app)/create/components/ModalTextAreaField"; export default { title: "Create Flow/ModalTextAreaField", component: ModalTextAreaField, parameters: { layout: "centered", docs: { description: { component: "Shared 'labelled text area' field used by every create-flow modal section. Pairs `InputLabel` (with help icon) with a `TextArea` set to the `embedded` appearance.", }, }, }, argTypes: { label: { control: { type: "text" } }, placeholder: { control: { type: "text" } }, rows: { control: { type: "number" } }, helpIcon: { control: { type: "boolean" } }, disabled: { control: { type: "boolean" } }, onChange: { action: "change" }, }, tags: ["autodocs"], }; export const Default = { render: (args) => { const [value, setValue] = React.useState(""); return (