`key` prop gets passed to onSelect