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 for create-flow modal sections. With `generateDraftText`, matches Figma Step Modal (23746:49780): tall compose field plus Generate draft.", }, }, }, 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 (