import { type iTextArea } from "https://deno.land/x/lunchbox@v1.0.2/components/TextArea/setup.ts";
Properties of the <TextArea />
component.
label
(string):
This property will add a <Text />
component inside the <label/>
element and links it to the
by nesting it inside the label as well.
error
(string | null):
This string creates a standarized error message linked individually to the component.
maxWidth
(boolean):
If true, overrides the default max width and makes it adjust to the parent container's width.
noResize
(boolean):
If true, adds a resize-none
css style fully preventing resizing.
definition: iComponent<HTMLTextAreaElement> & { label: string; error: string | null; maxWidth: boolean; noResize: boolean; fieldIcon: ComponentChild | null; fwd: Partial<iTextAreaFwd>; }