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

Why is atomize not working with Gatsby JS? #23

Closed
ColinTS opened this issue Nov 18, 2019 · 0 comments
Closed

Why is atomize not working with Gatsby JS? #23

ColinTS opened this issue Nov 18, 2019 · 0 comments

Comments

@ColinTS
Copy link

ColinTS commented Nov 18, 2019

I'm trying to use Atomize (https://atomizecode.com/) with Gatsby JS (https://www.gatsbyjs.org/) and while it is successfully installed, the atomize components are not being rendered to the page.

I am trying to import a button to start "Hey", and while it renders something it is not the standard button component. Also, even though the button component is imported, I get the warning that reads it is not being used.

I am wrapping atomize around gatsby app by the following way:

  import React from "react"
   import { StyleReset } from "atomize"
   
   export const wrapRootElement = ({ element }) => (
     <>
       <StyleReset />
       {element}
     </>
   )

image

@ColinTS ColinTS closed this as completed Nov 18, 2019
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

1 participant