A tiny package for highlighting a specific word from the passed text.
MIT License
A simple hilighter for hilighting the key that is passed from the given text.
import highlighter from "simple-text-highlighter";
<span
dangerouslySetInnerHTML={{
__html: highlighter("test", "test test test maketestdsfk test")
}}
/>