fisshy / react-scroll

React scroll component
https://github.com/fisshy/react-scroll/blob/master/README.md
MIT License
4.36k stars 437 forks source link

Can you add activeStyle prop? #529

Closed GKosheev closed 1 year ago

GKosheev commented 2 years ago

I'm using Link component from react-scroll library.

To add pseudo-class .active, I can use activeClass prop, but since I don't have any .css files in my project, to set my link to active I need to directly interfere with JS/TS or create .css file for that.

Can you add some prop that would allow interaction with css on active pseudo-class directly?