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