Usage

import { Textarea } from '@loomhq/lens'
<Textarea />

Rows

Placeholder

Sizes

Resize

Disabled

Forwarding refs

Use the ref prop to access the DOM node.

More about forwarding refs.

Props

prop
type
default
required
rows
number
4
size
oneOf: 'small', 'medium'
'medium'
resize
oneOf: 'none', 'both', 'horizontal', 'vertical'
'both'
value
string
placeholder
string
disabled
bool
onChange
func