Basic Usage

The suggestions plugin is a plugin that allows you to add suggestions to the input.

App.tsx
import { suggestionsPlugin } from '@zentara/plugin-suggestions';

// ...
return (
  <ZentaraInput
    plugins={[
      suggestionsPlugin({
        triggers: ['{', '{{', '{{.'],
        suggestions: ['foo', 'bar', 'baz'],
      }),
    ]}
  />
);