Skip to content

Instantly share code, notes, and snippets.

@tgmarinho
Created April 2, 2018 18:26
Show Gist options
  • Save tgmarinho/6e836fdd952114206a791eb07f82bacc to your computer and use it in GitHub Desktop.
Save tgmarinho/6e836fdd952114206a791eb07f82bacc to your computer and use it in GitHub Desktop.
import React from 'react';
const Button = ({children, handleClick}) => (
<button onClick={handleClick}>
{children}
</button>
);
export default Button;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment