bvaughn/react-highlight-words
Adjacent active chunks are handled as a single chunk
Aberta
#68 aberto em 4 de dez. de 2018
bughelp wanted
Métricas do repositório
- Stars
- (2.303 estrelas)
- Métricas de merge de PR
- (Nenhuma PRs mesclada em 30d)
Description
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.