The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
{/*
* _____ _
*|_ _|_ _____ _ __ | |_ _ _
* | | \ \ /\ / / _ \ '_ \| __| | | | Auto-generated file
* | | \ V V / __/ | | | |_| |_| | DO NOT EDIT - changes will be overwritten
* |_| \_/\_/ \___|_| |_|\__|\__, | Generated by: npx nx generate:ui twenty-docs
* |___/
*
* This file is generated from the documentation data in packages/twenty-ui/generated.
* To update it, edit the component prop types or design tokens in twenty-ui and run:
* npx nx generate:ui twenty-docs
*/}
<ParamField body="autoResize" type="boolean" default="false">
Measures committed controlled values or uncontrolled edits, form resets, row, size and variant changes, and width changes. Overrides blockSize while enabled.
</ParamField>
<ParamField body="className" type="string | ((state: InputState) => string | undefined)">
CSS class applied to the textarea, or a function that returns a class
based on the input state.
</ParamField>
<ParamField body="maxRows" type="number">
Caps automatic height growth. Content beyond this row limit scrolls.
</ParamField>
<ParamField body="onValueChange" type="((value: string, eventDetails: { reason: "none"; event: Event; cancel: () => void; allowPropagation: () => void; isCanceled: boolean; isPropagationAllowed: boolean; trigger: Element | undefined; }) => void)">
Receives the next string value and Base UI details, including the native event, reason and cancellation methods.
</ParamField>
<ParamField body="ref" type="Ref<HTMLTextAreaElement>">
Ref to the native textarea element.
</ParamField>
<ParamField body="render" type="ReactElement<unknown, string | JSXElementConstructor<any>> | ComponentRenderFn<DetailedHTMLProps<TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, InputState>">
Composes the native textarea with a custom element or callback receiving textarea props and Field state. Forward the supplied props and ref to a textarea.
</ParamField>
<ParamField body="size" type=""md" | "sm"" default="md">
Visual size of the textarea.
</ParamField>
<ParamField body="variant" type=""default" | "plain"" default="default">
default keeps the field frame. plain removes fill, border, radius and padding while retaining rows, automatic sizing and maximum rows. Its outline follows native :focus-visible, including pointer focus or autofocus on textareas; invalid state uses a danger outline.
</ParamField>