Package Exports
- react-highlighter
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (react-highlighter) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
react-highlighter
Highlight select fragments of a string using an HTML element and/or a class.
Installation
npm install react-highlighter --save
Usage
var Highlight = require('react-highlighter');
<Highlight search="brown">The quick brown fox jumps over the lazy dog</Highlight>
Props
search
: The string of text to highlightcaseSensitive
: Determine whether string matching should be case-sensitive