Skip to content

pawelwe/auto-complete

Repository files navigation

AutoComplete

To start the project

  • use yarn to install dependencies
  • use yarn start to develop

Initializing the Component

  • use createAutoComplete(options)

Options

  • label -> label string (optional)
  • renderOption -> result item rendering function
  • minLength -> number of characters to initialize
  • root -> HTML element to which render the component
  • fetchData -> data fetching function