Created
February 5, 2017 15:08
-
-
Save NiGhTTraX/c9e6899553aa2d7ac1b9db6daebdb20d 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
function Todo(props) { | |
return <div> | |
<span>{props.name}</span> | |
<button onClick={props.onDelete}>Delete</button> | |
</div>; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment