DocSpace-buildtools/web/ASC.Web.Storybook/stories/input/textarea
2019-08-06 16:36:41 +03:00
..
index.stories.js Web: Components: Textarea: renamed component and used 'value' as attribute 2019-08-06 16:36:41 +03:00
README.md Web: Components: Textarea: renamed component and used 'value' as attribute 2019-08-06 16:36:41 +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