Add support for dynamic updating of typeahead list

I've added props that allow changing the typeahead list at runtime.