@govuk-react/text-area
TypeScript icon, indicating that this package has built-in type declarations

0.10.6 • Public • Published

TextArea

Import

  import TextArea from '@govuk-react/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

Prop Required Default Type Description
error boolean Apply error state styling to the component
hint undefined ReactNode
input {} TextareaHTMLAttributes
margin Margin | Margin[]
mb string | number
meta {} { error?: string | string[]; touched?: boolean; }
padding Padding | Padding[]

/@govuk-react/text-area/

    Package Sidebar

    Install

    npm i @govuk-react/text-area

    Weekly Downloads

    2,152

    Version

    0.10.6

    License

    MIT

    Unpacked Size

    17.8 kB

    Total Files

    12

    Last publish

    Collaborators

    • loque-
    • steve_sims
    • petelockey
    • penx
    • marksy