xl vision
  • Component
  • React Hooks
  • Playground
  • Overview
  • Color
  • Getting Start
    • Installation
  • General
    • Icon
    • Button
  • Layout
    • Grid
  • Form
    • Input
    • InputNumber
    • Textarea
  • Navigation
    • Dropdown
    • Affix
    • BackTop
    • Anchor
  • Data Display
    • Tooltip
    • Popover
    • Avatar
  • Faceback
    • Popconfirm
    • Dialog
    • Message
    • Notication
  • Animation
    • Transition
    • TransitionGroup
    • CollapseTransition
    • Ripple
  • Styles
    • Theme
    • CssBaseline
  • Basic Component
    • BaseButton
    • Portal
    • Popper
    • Modal
    • ResizeObserver

Textarea

For multi-line input.

Examples

Basic

Basic

0/200/20
Show word count

Show word count.

Auto size

Justify size according to content.

Mutiple size

Mutiple size.

Properties

PropertyDescriptionTypeDefaultRequire
onChangevalue change event(value: string) => void-false
valuevaluestring-false
defaultValuedefault valuestring-false
showCountshow value length countboolean-false
allowClearshow icon for clear valueboolean-false
sizesizemiddle | large | smallmiddlefalse
maxLengthvalue max lengthnumber-false
autoHeightauto justify height according to contentboolean | { minRows?: number, maxRows?: number }-false
Examples
Basic
Show word count
Auto size
Mutiple size
Properties
Copyright © 2020-2021 Rhys Xia