dgz-ui
Version:
Custom ui library using React.js, Shadcn/ui, TailwindCSS, Typescript
19 lines • 812 B
TypeScript
import { VariantProps } from 'class-variance-authority';
import { inputVariants } from './input';
import * as React from 'react';
/**
* Props for the Textarea component.
*/
export type TextareaProps = React.ComponentProps<'textarea'> & VariantProps<typeof inputVariants>;
/**
* Textarea - Multiline text input with Input variants styling.
*
* @component
* @param {object} props - The properties for the component.
* @param {string} [props.className] - Additional classes for the textarea.
* @param {string} [props.variant] - The variant of the textarea.
* @returns {JSX.Element} The rendered Textarea component.
*/
declare const Textarea: React.ForwardRefExoticComponent<Omit<TextareaProps, "ref"> & React.RefAttributes<HTMLTextAreaElement>>;
export { Textarea };
//# sourceMappingURL=textarea.d.ts.map