DocSpace-client/web/ASC.Web.Storybook/stories/input/text-area
2019-07-31 15:44:48 +03:00
..
index.stories.js Web: components: fixed TextArea component 2019-07-31 15:44:48 +03:00
README.md Web: components: fixed TextArea component 2019-07-31 15:44:48 +03:00

Input: TextArea

Usage

import { TextArea } from 'asc-web-components';

Description

TextArea is used for displaying custom textarea

Usage

<TextArea placeholder="Add comment" onChange={event => alert(event.target.value) value='value' />

Properties

Props Type Required Values Default Description
value string - - - Value for TextArea
placeholder string - - - Placeholder for TextArea
onChange func - - - Allow you to handle changing events of component
id string - - - Used as HTML id property
name string - - - Used as HTML name property
isDisabled bool - - false Indicates that the field cannot be used
isReadOnly bool - - false Indicates that the field is displaying read-only content