sickdyd/react-search-autocomplete

How to customize pointer when hovering over results

Closed this issue · 1 comments

Hello, im trying to customize the cursor when hovering over the results bar. I tried using cursor: pointer in the style prop but didnt worked. Anybody knows how to? This is my style object.

const styling = { fontFamily: 'Poppins, sans-serif', fontSize: '1rem', height: '2.5rem', hoverBackgroundColor: '#eaf8bf', cursor: 'pointer', display: 'flex', position: 'relative', alignItems: 'center', justifyContent: 'center', }

ahb10 commented

How did you change the cursor to pointer when hovering over results?