Created
March 27, 2019 07:28
-
-
Save DinAlla/0cf49b55b81d98615561714ee3654dcb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const ExampleComponent= (props: Props) => ( | |
{window.location.pathname === '/newPathname’ && | |
<button><button/> | |
} | |
<button><button/> | |
); | |
export default ExampleComponent; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment