Skip to main content

<html.textarea>

The <html.textarea> component lets you render a multiline text input.

Overview

To display a text area, render the <html.textarea> component.

import { html } from 'react-strict-dom';

const Foo = () => (
<html.textarea
onInput={() => {}}
placeholder="Placeholder text"
rows={3}
/>
);

Props

  • ...Common props
  • autoComplete
  • defaultValue
  • disabled
  • maxLength
  • minLength
  • onBeforeInput
  • onChange
  • onInput
  • onInvalid
  • onSelect
  • onSelectionChange
  • placeholder
  • readOnly
  • required
  • rows
  • value