I am using epubjs-rn and i wanted to select a color for highlighting a text .
I was searching in the docs and i found this code but it didn't work .
onSelected={(cfiRange, rendition) => {
rendition.highlight(cfiRange, {}, (e) => {console.log(e)}, undefined, {fill: 'blue'});
}}
Any help will be appreciated .