Created
March 6, 2018 11:00
-
-
Save anonymous/6de5d94a457195ca6939254e38f7094f to your computer and use it in GitHub Desktop.
This file contains 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, { Component } from 'react' | |
import styled, { keyframes, ThemeProvider } from 'styled-components' | |
import logo from './logo.svg' | |
import { theme } from './theme/globalStyle' | |
// our styled-components | |
class App extends Component { | |
render() { | |
return ( | |
<ThemeProvider theme={theme}> | |
{/* all children can access the theme object */} | |
</ThemeProvider> | |
) | |
} | |
} | |
export default App |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment