react-awesome-button
react-awesome-button copied to clipboard
usage with react-router-dom navLink
I tried using the button with react-router-dom. I have an existing route transition animation in place. I wrapped the button with Link tags in order to redirect to the next page.
<NavLink to="/main">
<AwesomeButton >
click to go to next page
</AwesomeButton>
</NavLink>
this code works but the button shows up a bit longer after the new page is displayed. I guess this is due to the animation for the button to come up.
Is there any way I can use this button for my use case?