"use client"; /** * Shared "labelled text area" field used by every create flow modal section. * Pairs an `InputLabel` (with help icon) with a `TextArea` set to the embedded * appearance — matching the Figma "Control / Text Area" pattern. */ import { memo } from "react"; import TextArea from "../../components/controls/TextArea"; import InputLabel from "../../components/utility/InputLabel"; export interface ModalTextAreaFieldProps { /** Label rendered above the text area. */ label: string; /** Show the help "?" icon next to the label (default `true`). */ helpIcon?: boolean; /** Current text value. */ value: string; /** Fired on every change with the new value (no event). */ onChange: (_value: string) => void; /** Optional rows for the underlying `