Skip to content

Instantly share code, notes, and snippets.

Created March 6, 2018 11:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/6de5d94a457195ca6939254e38f7094f to your computer and use it in GitHub Desktop.
Save anonymous/6de5d94a457195ca6939254e38f7094f to your computer and use it in GitHub Desktop.
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