-
-
Save frikky/cd702f8dc3a7f1ffe14c0eb58276ae93 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'; | |
const Functionname = () => { | |
const name = "@frikkylikeme" | |
const url = "https://medium.com | |
return ( | |
<div> | |
<App name={name} url={url} {...props} /> | |
</div> | |
); | |
} | |
const App = props => { | |
const {url, name} = props | |
return ( | |
<div> | |
<h1>url</h1> | |
<p>name</p> | |
</div> | |
) | |
} | |
export default Functionname |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment