/*! Strand UI | MIT License | dillingerstaffing.com */ import type { JSX } from "preact"; export interface TextareaProps extends Omit, "onInput" | "value"> { /** Grow to fit the content. */ autoResize?: boolean; /** Show `length/maxLength`; needs `maxLength`. */ showCount?: boolean; /** Error styling and `aria-invalid`. */ error?: boolean; maxLength?: number; onInput?: JSX.GenericEventHandler; disabled?: boolean; value?: string; } /** * Multi-line text input with autosize and a character count. * * @example *