tomsouthall / turnstone

React customisable autocomplete component with typeahead and grouped results from multiple APIs.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Simple example fails to render a Listbox

ZipBrandon opened this issue · comments

I was taking Turnstone for a test drive and am not getting the list box. Did I miss something key?

https://codesandbox.io/s/hidden-breeze-lre13y

Thanks for pointing this out. Documentation error. Just pushed a correction to the README. The listbox prop should look like this:

{ data:[Peach, Pear, Pineapple, Plum, Pomegranate, Prune] }

Here is your example updated to reflect this: https://codesandbox.io/s/tender-hopper-kql1rr