Skip to content

Instantly share code, notes, and snippets.

@frikky
Created December 6, 2018 16:36
Show Gist options
  • Save frikky/cd702f8dc3a7f1ffe14c0eb58276ae93 to your computer and use it in GitHub Desktop.
Save frikky/cd702f8dc3a7f1ffe14c0eb58276ae93 to your computer and use it in GitHub Desktop.
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