Created
May 5, 2021 12:07
-
-
Save SingAvi/78a687ebd99cde89dd0f4f07f0a410c0 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 React from 'react'; | |
import Button from './components/button' | |
// Main App | |
function App() { | |
return ( | |
<div className="App"> | |
// Component Button : with props as -> "button_name" and pass any value. | |
<Button button_name="Press me !" /> | |
</div> | |
); | |
} | |
export default App; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment