@arolariu/components
Version:
🎨 70+ beautiful, accessible React components built on Base UI. TypeScript-first, CSS Modules styling, tree-shakeable, SSR-ready. Perfect for modern web apps, design systems & rapid prototyping. Zero config, maximum flexibility! ⚡
27 lines • 1.02 kB
TypeScript
import * as React from "react";
/**
* Props for the shared textarea wrapper.
*/
interface TextareaProps extends React.ComponentPropsWithoutRef<"textarea"> {
/** Additional CSS classes merged with the textarea styles. @default undefined */
className?: string;
}
/**
* Renders a multi-line text area for longer free-form text input.
*
* @remarks
* - Renders a `<textarea>` element by default
* - Built on {@link https://base-ui.com/react/components/textarea | Base UI Textarea}
* - Supports the `render` prop for element composition through standard React composition patterns
* - Styling via CSS Modules with `--ac-*` custom properties
*
* @example Basic usage
* ```tsx
* <Textarea placeholder="Add additional details" />
* ```
*
* @see {@link https://base-ui.com/react/components/textarea | Base UI Documentation}
*/
declare const Textarea: React.ForwardRefExoticComponent<TextareaProps & React.RefAttributes<HTMLTextAreaElement>>;
export { Textarea };
//# sourceMappingURL=textarea.d.ts.map