You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I ended up moving to https://www.npmjs.com/package/react-highlighter instead, which uses child props for the main text (I didn't use it initially as I wasn't aware that it supported RegExp), and all works fine.
Maybe make a note regarding it only searches child props?
Im attempting to use react-linkify with react-highlight-words (https://github.com/bvaughn/react-highlight-words/blob/master/src/Highlighter.js)
However it appears linkify is not finding the text.
Its not an issue with the resulting DOM, as mimicking the DOM as input still works.
It appears to be caused by the fact that react-highlight doesn't place the text as a child, but a prop instead.
The text was updated successfully, but these errors were encountered: