Skip to main content

TextArea API Overview

Initialization

import { TextArea } from "@svar-ui/react-core";

// minimal configuration for initialization
<TextArea />
tip
  • Visit the Features Guide to learn more about the control's functionality.
  • Explore the samples to visualize the available features.

TextArea Properties

cssAdds a custom style to the TextArea control.
disabledOptional. Defines whether an area is disabled
errorOptional. Defines whether error styling is applied to an area
idOptional. Sets an id for inner HTML input
placeholderOptional. Sets a placeholder for an area
readonlyOptional. Defines whether a textarea is read-only
titleOptional. Sets a tooltip text with additional info about the control
tooltipOptional. Sets the tooltip text shown on hover when the control is wrapped in a Tooltip component
valueOptional. Sets the value of an area

TextArea Events

changeFires on change of the value in textarea