Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

369 B
Raw Blame
import { useState } from 'react'
import { ExpandingTextArea } from 'ui'

export default function ExpandingTextareaDemo() {
  const [value, setValue] = useState('')

  return (
    <ExpandingTextArea
      placeholder="Type your message in multiple lines here."
      value={value}
      onChange={(event) => {
        setValue(event.target.value)
      }}
    />
  )
}