I\'m very much aware of the react-router-dom I want to do a conditional rendering of the component. If use is not logged in redirect him to some third party URL
for
Can easily use a button just do this:
(window.location = 'https://www.google.com')}>Click me