Skip to content

Instantly share code, notes, and snippets.

@nicholasess
Created June 30, 2018 22:36
Show Gist options
  • Save nicholasess/88c3f06ecbd0c9cb52d153a49e9c1f5d to your computer and use it in GitHub Desktop.
Save nicholasess/88c3f06ecbd0c9cb52d153a49e9c1f5d to your computer and use it in GitHub Desktop.
import React from "react";
import styled from "styled-components";
const ButtonStyle = styled.a`
padding: 10px;
line-height: 40px;
text-align: center;
border-radius: 5px;
cursor: pointer;
margin: 3px 5px;
color: #fff;
background-color: #000;
`;
const Button = ({ children }) => <ButtonStyle>{children}</ButtonStyle>;
export default Button;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment