Last active
February 9, 2018 06:38
-
-
Save jrwebdev/73893ea8caabf8c8099231b73f7ba55c to your computer and use it in GitHub Desktop.
This file contains hidden or 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 * as React from 'react'; | |
| import * as ReactDOM from 'react-dom'; | |
| import withBlueBackground from './withBlueBackground'; | |
| import Hello from './Hello'; | |
| const BlueHello = withBlueBackground(Hello); | |
| ReactDOM.render( | |
| <BlueHello name="Bob" style={{ fontWeight: 'bold' }} />, | |
| document.getElementById('app') | |
| ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment