UNPKG

wass-rct-ui

Version:

A lightweight and customizable WASS Rct UI component library for modern web applications.

30 lines (29 loc) 965 B
/** * @file wass-rct-ui * @description A reusable Title component that supports dynamic heading levels. * @author Web Apps Software Solutions * @copyright © 2024 Web Apps Software Solutions. All rights reserved. * @license MIT * @repository https://github.com/WebAppSoftNK/wass-rct-ui */ import * as React from "react"; import { ChangeEvent, FocusEvent } from "react"; import { BaseColorVariant, SizeType } from "../types"; export interface TextAreaProps { colorVariant?: BaseColorVariant; sizeVariant?: SizeType; isLoading?: boolean; isReadonly?: boolean; fixedSize?: boolean; value?: string; placeholder?: string; className?: string; rows?: number; disabled?: boolean; id?: string; required?: boolean; onChange?: (event: ChangeEvent<HTMLTextAreaElement>) => void; onBlur?: (event: FocusEvent<HTMLTextAreaElement>) => void; } declare const TextArea: React.FC<TextAreaProps>; export default TextArea;