aura-glass
Version:
A comprehensive glassmorphism design system for React applications with 142+ production-ready components
36 lines • 1.23 kB
TypeScript
import React from "react";
export interface GlassTextareaProps extends React.TextareaHTMLAttributes<HTMLTextAreaElement> {
/** Textarea variant */
variant?: "default" | "filled" | "outlined" | "minimal";
/** Textarea size */
size?: "sm" | "md" | "lg";
/** Textarea state */
state?: "default" | "error" | "warning" | "success";
/** Whether textarea is full width */
fullWidth?: boolean;
/** Label text */
label?: string;
/** Helper text */
helperText?: string;
/** Error text */
errorText?: string;
/** Whether to auto-resize based on content */
autoResize?: boolean;
/** Minimum number of rows */
minRows?: number;
/** Maximum number of rows */
maxRows?: number;
/** Character count display */
showCharCount?: boolean;
/** Maximum character count */
maxLength?: number;
/** Loading state */
loading?: boolean;
/** Icon to display */
icon?: React.ReactNode;
/** Data test id */
"data-testid"?: string;
}
export declare const GlassTextarea: React.ForwardRefExoticComponent<GlassTextareaProps & React.RefAttributes<HTMLTextAreaElement>>;
export default GlassTextarea;
//# sourceMappingURL=GlassTextarea.d.ts.map