Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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