Highlight A Keyword In A Piece Of Text
A React component that highlights a keyword in a piece of text and returns a React element.
A React component that highlights a keyword in a piece of text and returns a React element.
react-highlight is a ReactJS component that helps you highlight ranges of text and give you callbacks to detect user selection. Features: Pass ranges and the component will highlight the text for you Callback function that gives you the start and end of the user highlighted text Customisable renderRange function that allows you to add tooltip on the top of user selection for example Convert url string into link Installation: # NPM $ npm install highlightable –save Preview:
A React component to highlight words within a larger body of text.