1.0 KiB
1.0 KiB
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.innerText)}>
Some text
</TextArea>;
Properties
Props | Type | Required | Values | Default | Description |
---|---|---|---|---|---|
placeholder |
string |
- | - | - | Placeholder for TextArea |
onChange |
func |
- | - | - | Allow you to handle changing events of component |