Closed ahmetkuslular closed 1 year ago
highlighted data from Autowhatever component is passed to onKeyDown function as a prop. Also, highlightedSuggestion has been added to the data.
highlighted
Autowhatever
highlightedSuggestion
function onKeyDown (event, data) { const { highlightedSectionIndex, highlightedSuggestionIndex, highlightedSuggestion} = data; ... }
highlighted
data fromAutowhatever
component is passed to onKeyDown function as a prop. Also,highlightedSuggestion
has been added to the data.