sickdyd / react-search-autocomplete

A search box that filters the provided array of objects
https://sickdyd.github.io/react-search-autocomplete
MIT License
222 stars 85 forks source link

How to customize pointer when hovering over results #78

Closed agustinlaurito closed 2 years ago

agustinlaurito commented 2 years ago

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 1 year ago

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