0.10.7 • Published 1 year ago

@govuk-react-bjss-pttg/text-area v0.10.7

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

TextArea

Import

  import TextArea from '@govuk-react-bjss-pttg/text-area';

Use the textarea component when you need to let users enter an amount of text that’s longer than a single line.

Properties

PropRequiredDefaultTypeDescription
errorbooleanApply error state styling to the component
hintundefinedReactNode
input{}TextareaHTMLAttributes
marginMargin | Margin[]
mbstring | number
meta{}{ error?: string | string[]; touched?: boolean; }
paddingPadding | Padding[]