Textarea

Exports

Import these components from @mbsw/ui.

Textarea

Props

The tables list common props for each component. See the full types for supported prop combinations and inherited HTML and Radix props.

See the full types for this component's shared props.

Type reference

Show full types

Full TypeScript definitions, including prop combinations and inherited props.

import { type TextareaHTMLAttributes } from 'react';

type DataAttributes = {
    [key: `data-${string}`]: boolean | number | string | undefined;
};

export type TextareaProps = TextareaHTMLAttributes<HTMLTextAreaElement> & DataAttributes;

export declare const Textarea: import("react").ForwardRefExoticComponent<TextareaHTMLAttributes<HTMLTextAreaElement> & DataAttributes & import("react").RefAttributes<HTMLTextAreaElement>>;