Open deepakkumardk opened 3 months ago
Hi @deepakkumardk sorry for the late reply, you can use it like this:
const extraMarkers = new Highlight({ keywords: ['user interface', 'highlight'], style: { backgroundColor: '#F7DB6A', color: '#FFFFFF' }, });
Hi @farhoudshapouran Thanks for the great library.
I have a query regarding highlight text props for extraMarkers, how do I also change the text style like for the below code, I also change the text color from black to white.
const extraMarkers = new Highlight({ keywords: ['user interface', 'highlight'], style: { backgroundColor: '#F7DB6A' }, });