@ark-ui/react
Version:
A collection of unstyled, accessible UI components for React, utilizing state machines for seamless interaction.
13 lines (12 loc) • 517 B
TypeScript
import { HTMLProps, PolymorphicProps } from '../factory';
import { ForwardRefExoticComponent, RefAttributes } from 'react';
export interface FieldTextareaBaseProps extends PolymorphicProps {
/**
* Whether the textarea should autoresize
* @default false
*/
autoresize?: boolean;
}
export interface FieldTextareaProps extends HTMLProps<'textarea'>, FieldTextareaBaseProps {
}
export declare const FieldTextarea: ForwardRefExoticComponent<FieldTextareaProps & RefAttributes<HTMLTextAreaElement>>;