-
-
Save deniztetik/dfb74a1dfdae841abacabc9abb42a6a2 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/Hello.js | |
import React from 'react'; | |
import { withMessageContext } from './MessageContainer'; | |
const Name = (props) => ( | |
<h1>Hello {props.name}!</h1> | |
); | |
export default withMessageContext(Name); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment