-
-
Save reime005/9a6bb6d0185e10a5536cce97561a7bc4 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
/* src/Home.js */ | |
import React from 'react'; | |
const Home = ({ | |
counter, | |
makeCall, | |
takeEvery, | |
/* ... */ | |
}) => ( | |
<div> | |
<p id="testCounter">{counter}</p> | |
<button id="testButton" onClick={() => makeCall()}> | |
Call | |
</button> | |
<button onClick={() => takeEvery()}>Take Every</button> | |
/* ... */ | |
</div> | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment