FormTextarea

This form textarea component is a primitive component. It only renders a single styled html textarea element.

<FormTextarea placeholder="Type here..." />

Error state

<Spacings.Stack>
  <FormTextarea placeholder="Default" />
  <FormTextarea placeholder="Error" invalid />
</Spacings.Stack>

Custom Styling

In case you need to adapt the looks of this component you can either just pass a class name of use styled components extension like so:

const CustomFormTextarea = styled(FormTextarea)`
  border-top: 0;
  border-right: 0;
  border-left: 0;
`

Props

PropsTypeRequiredValuesDefault
invalidboolean---
And all regular textarea props...