Skip to content

Instantly share code, notes, and snippets.

@suzdalnitski
Created August 12, 2018 15:33
Show Gist options
  • Save suzdalnitski/510770f707dc8817c28ddf0e738620fc to your computer and use it in GitHub Desktop.
Save suzdalnitski/510770f707dc8817c28ddf0e738620fc to your computer and use it in GitHub Desktop.
Simple Stateless Functional Component
const MyComponent = ({name}) => (
<div>
<h1>Hi, {name}</h1>
</div>
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment