UNPKG

jobiqo-cl

Version:

[![CircleCI](https://circleci.com/gh/jobiqo/jobiqo-cl.svg?style=svg&circle-token=5a24efa5b8bbc4879276123e77d0d3f35ca7144c)](https://circleci.com/gh/jobiqo/jobiqo-cl)

34 lines (33 loc) 830 B
/** * @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;