Skip to content

Instantly share code, notes, and snippets.

@qwtel
Created January 26, 2017 09:05
Show Gist options
  • Save qwtel/ec2d0eed83ba14d7e27a847e29f9b528 to your computer and use it in GitHub Desktop.
Save qwtel/ec2d0eed83ba14d7e27a847e29f9b528 to your computer and use it in GitHub Desktop.
import styled from 'styled-components';
const Button = styled.button`
background: white;
color: palevioletred;
font-size: 1em;
margin: 1em;
padding: 0.25em 1em;
border: 2px solid palevioletred;
border-radius: 3px;
`;
class ButtonComponent extends Component {
render() {
return (
<div>
<label>{this.props.label}</label>
... stable html
</div>
);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment