A Pen by Muhammad Hanif on CodePen.
Created
June 16, 2019 11:56
-
-
Save hanipcode/5f3594859a065782b24813de7f4355c0 to your computer and use it in GitHub Desktop.
ButtonGroup Codepen
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
<div id="root"></div> |
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
class ButtonGroup extends React.Component { | |
render() { | |
return ( | |
<p>ButtonGroup</p> | |
) | |
} | |
} | |
class App extends React.Component { | |
render() { | |
return (<ButtonGroup />) | |
} | |
} | |
ReactDOM.render(<App />, document.getElementById('root')) |
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
<script src="https://cdnjs.cloudflare.com/ajax/libs/react/16.8.6/umd/react.production.min.js"></script> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/react-dom/16.8.6/umd/react-dom.production.min.js"></script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment