UNPKG

@theme-ui/components

Version:

Primitive layout, typographic, and other components for use with Theme UI.

14 lines (13 loc) 512 B
import React from 'react'; import { BoxOwnProps } from './Box'; import type { Assign, ForwardRef } from './types'; export interface TextareaProps extends Assign<React.ComponentPropsWithRef<'textarea'>, BoxOwnProps> { } /** * Form textarea component * * Textarea variants can be defined in `theme.forms` * and the component uses the `theme.forms.textarea` variant by default. * @see https://theme-ui.com/components/textarea/ */ export declare const Textarea: ForwardRef<HTMLTextAreaElement, TextareaProps>;