Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Guide for "Styled Components" missing some info so it breaks #3973

Closed
m2mathew opened this issue Feb 10, 2018 · 3 comments
Closed

Guide for "Styled Components" missing some info so it breaks #3973

m2mathew opened this issue Feb 10, 2018 · 3 comments

Comments

@m2mathew
Copy link
Contributor

Description

In the "Using CSS-in-JS library Styled Components" guide there is a step missing when adding the styled-components code to the pages/index.js file.

Based on the specific installation instruction provided, this component doesn't exist in the project at any point. It will break the app when running gatsby develop.

import Container from "../components/container";

Expected behavior

Show the user how to build the <Container> component so that that goodness of styled-components can shine through! 🌞

@calcsam
Copy link
Contributor

calcsam commented Feb 11, 2018

Thanks for finding this! Want to add this?

@assimelha
Copy link
Contributor

I can take this one if no one's working on it already :)

@KyleAMathews
Copy link
Contributor

Fixed by @RxAssim in #3988 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants