Created
May 25, 2020 14:17
-
-
Save scriptschat/9f31bc584227c4ce064a10b4cf292a81 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
import React from "react"; | |
function Workout({ name, target, group }) { | |
return ( | |
<div data-test-id="workout-container"> | |
<h4 data-test-id="workout-name">Name: {name}</h4> | |
<h6 data-test-id="workout-target">Target: {target}</h6> | |
<h6 data-test-id="workout-group">Group: {group}</h6> | |
</div> | |
); | |
} | |
export default Workout; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment