TextArea

Type: React component

Renders an input field, allowing any textual content. TextArea displays multiple rows at the same time, making it suitable for the input of longer content such as descriptions or comments. If the amount of rows exceed the amount of rows provided by the "rows" prop, TextArea will overflow and show a vertical scrollbar.

When only a single row of text is required to be seen at a time, consider using TextInput instead.

Props

  1. isDisabled

    (Optional)

    Default value

  2. name

    (Optional)

    Type: FDS~Name

    Default value

  3. onChange

    (Optional)

    Default value

  4. placeholder

    (Optional)

    Default value

  5. rows

    (Optional)

    Type: Number

    The number of text lines that should be visible before overflowing and showing a vertical scrollbar.

    Default value

  6. tooltipContent

    (Optional)

    Default value

  7. validate

    (Optional)

    Default value

  8. value

    (Optional)

    Default value