RichTextArea

Multiline rich text input that supports elements as content.

import { RichTextArea } from 'react-gui/rich-text-area';

<RichTextArea {...props}></RichTextArea>;

API #

Props #

accessibilityControls ?string

Equivalent to aria-controls.

accessibilityDescribedBy ?string

Equivalent to aria-describedby.

accessibilityDetails ?string

Equivalent to aria-details.

accessibilityKeyShortcuts ?Array<string>

Equivalent to aria-keyshortcuts.

accessibilityLabel ?string

Equivalent to aria-label.

accessibilityLabelledBy ?string

Equivalent to aria-labelledby.

accessibilityRole ?boolean

Equivalent to role.

accessibilityRoleDescription ?string

Equivalent to aria-roledescription.

autoCapitalize ?string

Equivalent to HTMLElement.autocapitalize.

autoComplete ?string

Equivalent to HTMLElement.autocomplete.

autoCorrect ?("on" | "off")

A string indicating whether or not auto-correct behavior is on or off. Safari only.

dataSet ?Object

Equivalent to HTMLElement.dataset.

defaultValue ?string

The initial value of the input.

direction ?("auto" | "ltr" | "rtl")

Equivalent to HTMLElement.dir

disabled ?boolean

Equivalent to HTMLElement.disabled

enterKeyHint ?string

Specifies what action label (or icon) to present for the enter key on virtual keyboards. Equivalent to HTMLElement.enterkeyhint

inputMode ?string

Hints at the type of data that might be entered by the user while editing the element or its contents. Equivalent to HTMLElement.inputMode

lang ?string

Equivalent to HTMLElement.lang.

nativeID ?string

Equivalent to HTMLElement.id.

placeholder ?boolean

Text that appears in the form control when it has no value set.

readOnly ?boolean

Equivalent to HTMLElement.readonly

required ?boolean

Equivalent to HTMLElement.required

spellCheck ?boolean

Equivalent to HTMLElement.spellcheck

style ?Style

Set the styles of the view.

testID ?string

Set the test selector label (via data-testid).

value ?string

The value of the input when using it as a controlled component.

Styles #


Details #

Updated
Edit
React GUICopyright © Facebook Inc.