@thinkbuff/figma-react
Version:
A Figma React UI components for creating plugins and widgets
10 lines (9 loc) • 442 B
TypeScript
import { InputVariantsProps } from '../input';
type TextareaVariantsProps = InputVariantsProps;
interface TextareaProps extends React.ComponentPropsWithRef<'textarea'>, TextareaVariantsProps {
invalid?: boolean;
disabled?: boolean;
}
declare const Textarea: import('react').ForwardRefExoticComponent<Omit<TextareaProps, "ref"> & import('react').RefAttributes<HTMLTextAreaElement>>;
export { Textarea };
export type { TextareaProps };