Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 699 Bytes

README.md

File metadata and controls

30 lines (20 loc) · 699 Bytes

Text Area

Text areas allow the user to input a larger amount of freeform text (over 100 characters).

Read more about when and how to use the Text Area component on the website.

Getting started

Install the package

yarn add @hig/text-area @hig/theme-context @hig/theme-data

Import the component

import TextArea from '@hig/text-area';

Basic usage

<TextArea
  placeholder="Foo"
/>

Custom CSS

Use the className prop to pass in a css class name to the outermost container of the component. The class name will also pass down to most of the other styled elements within the component.