Last active
August 18, 2017 21:26
-
-
Save SaraVieira/8fa6f85886a9aaa98e77d5aac701e780 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; | |
import styled from 'styled-components'; | |
import { Section, Paragraph, ButtonStyles } from './style.js'; | |
const Button = styled.button`${ButtonStyles};`; | |
const Main = () => ( | |
<Section> | |
<Paragraph> | |
Look at my buttons, they are amazing buttons ! | |
</Paragraph> | |
<Button type="primary"> | |
A Primary Button | |
</Button> | |
<Button type="secondary"> | |
And I am a secondary | |
</Button> | |
</Section> | |
); | |
export default Main; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment