API Reference
Log In
API Reference

Textarea component with auto-complete suggestions

Description

This component is a regular Textarea component. But after the user has stopped typing for 1 second, it calls GTP-3.5 to ask for a suggestion on the next couple of words. The user can accept the suggestion with the Tab key.

It's like AutoCompleteInput but for a Textarea.

Props

  • Extends all the props of a standard <textarea /> component.

Example

<AutoCompleteTextArea
  placeholder="Type something here..."
  rows={5}
/>