1.0.7 • Published 5 years ago
react-search-keyword-highlight v1.0.7
Prerequisite
npm install react-search-keyword-highlight
Import into your component
import KeywordHighlighter from 'react-search-keyword-highlight';
<KeywordHighlighter
content={your-text-content}
keywords=['key1', 'key2']
/>