jobiqo-cl
Version:
[](https://circleci.com/gh/jobiqo/jobiqo-cl)
34 lines (33 loc) • 830 B
TypeScript
/**
* @file index.tsx
*
* @fileoverview Renders a textarea using the styles provided in the theme.
*/
import React from 'react';
export interface TextareaProps extends React.InputHTMLAttributes<HTMLTextAreaElement> {
/**
* The label for the textarea.
*/
label?: string;
/**
* The number of rows for the textarea. Will determine the size for the textarea.
*
* @default 10
*/
rows?: number;
/**
* The columns for the textarea.
*/
columns?: number;
}
/**
* A textarea form element. Should be used for long text form elements. For larger or smaller
* textareas make sure to manipulate the rows prop property.
*/
export declare const Textarea: {
(props: TextareaProps): JSX.Element;
defaultProps: {
rows: number;
};
};
export default Textarea;