Created
February 3, 2017 18:04
-
-
Save riteshsangwan/7777471d4026c67ee051c512749e6adc 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 ReactDOM from 'react-dom'; | |
import Menus from './Menus'; | |
ReactDOM.render( | |
Menus, | |
document.getElementById('root'); | |
); |
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'; | |
class Menus extends React.Component { | |
render() { | |
return ( | |
<Menu items={items} /> | |
); | |
} | |
} | |
export default class Menus; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment