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

Fix to support Storybook UI and React #48

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

erie149
Copy link

@erie149 erie149 commented Jan 11, 2022

No description provided.

 Additional fixes to support all major React platforms (SB, CRA, Next JS, etc.)
feat: Storybook fix
@donovanroubos
Copy link
Member

Hi @erie149,

Thank you a lot for contributing to Flagpack!

I've checked your PR and it looks like it's having some issues regarding importing React. It looks like React shouldn't be a peerDependency.

When changing react to a regular dependency I'm also facing a bug where the SVG isn't loaded properly. I'm not completely sure why.

Google Chrome_18-01-2022_11-05-27

Google Chrome_18-01-2022_11-05-48

Are you able to reproduce this error? Please let me know.

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

Successfully merging this pull request may close these issues.

None yet

3 participants