bvaughn/react-highlight-words
Adjacent active chunks are handled as a single chunk
Offen
#68 geöffnet am 04.12.2018
bughelp wanted
Repository-Metriken
- Stars
- (2.303 Sterne)
- PR-Merge-Metriken
- (Keine gemergten PRs in 30 T)
Beschreibung
See this example: https://codesandbox.io/s/7j2njo9l2q.
searchWords={["e"]}
textToHighlight="sleep"
activeIndex={0}
highlights both ee instead of just the first e. With activeIndex={1} nothing gets highlighted.