import { CardBackgroundProps } from '../CardBackground/CardBackground'; export type TextareaInputState = "default" | "success" | "error" | "warning"; export interface TextareaToolbarRenderProps { state: TextareaInputState; disabled: boolean; } export interface TextareaInputProps extends Omit, "onChange"> { value?: string; onChange?: (event: React.ChangeEvent) => void; placeholder?: string; disabled?: boolean; state?: TextareaInputState; label?: string; required?: boolean; supportingText?: React.ReactNode | (() => React.ReactNode); showSupportingText?: boolean; cardBackground?: Omit; toolbar?: React.ReactNode | ((props: TextareaToolbarRenderProps) => React.ReactNode); /** * Escape hatch: si se pasa, reemplaza el `