Text Area

A text area component. Used as a stand-alone component, changes should be handled via the onChange attribute.

Example:

<TextArea
    legend="Please enter a few sentences"
    placeholder="Enter text"
/>

Options:

  • legend: string to be displayed as the title of te component. Default: ''.
  • onChange: Callback function invoked after each change of the text value. Default: null.
  • placeholder:
  • resize:* boolean indicating whether the element should be resizable. Default: false.
  • rows:* number of rows. Default: 5.

results matching ""

    No results matching ""