@visa/nova-react
Version:
Visa Product Design System Nova React library. Compatible with React ^19.
17 lines (16 loc) • 654 B
TypeScript
import type { ComponentPropsWithRef, ElementType } from 'react';
export type TextAreaProperties<ET extends ElementType = 'textarea'> = {
/** fixed height */
fixed?: boolean;
} & ComponentPropsWithRef<ET>;
/**
* Input component with optional dynamic sizing, usually used for long-form text input.
* @docs {@link https://design.visa.com/components/input/?code_library=react | See Docs}
* @vgar TODO
* @wcag TODO
*/
declare const Textarea: {
<ET extends ElementType = "textarea">({ className, fixed, ...remainingProps }: TextAreaProperties<ET>): import("react/jsx-runtime").JSX.Element;
displayName: string;
};
export default Textarea;