Created
October 27, 2015 20:34
-
-
Save aakashns/105230bb1c3e5f2a2d9c to your computer and use it in GitHub Desktop.
Example usage of Name on Web
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 React from 'react'; | |
| import ReactDOM from 'react-dom'; | |
| import NameBase from '../shared/Name'; | |
| import NameViewWeb from './NameViewWeb'; | |
| var Name = NameBase(React); | |
| ReactDOM.render( | |
| <Name view={NameViewWeb} />, | |
| document.getElementById('app')); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment