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

Bug - SVGs - assets svg imports resulting in ModuleNotFound error #3757

Open
jenny-s51 opened this issue Sep 12, 2023 · 1 comment
Open

Bug - SVGs - assets svg imports resulting in ModuleNotFound error #3757

jenny-s51 opened this issue Sep 12, 2023 · 1 comment
Assignees
Labels

Comments

@jenny-s51
Copy link
Contributor

jenny-s51 commented Sep 12, 2023

Describe the problem
A clear and concise description of the problem. Which components are affected?

Noted in patternfly/patternfly-react#9140 - moving 1 - 3 to a separate issue as this is out of scope from CodeSandbox and requires more investigation as to why the svgs are not found. @Dominik-Petrik is also running into this issue in his conversion effort for patternfly/patternfly-react#9553 .

Could not find module in path: '@patternfly/react-core/src/demos/assets/pf-logo-small.svg' relative to '/index.tsx'
  1. Icon import paths in Primary Detail Card View demo are not correct and CodeSandbox demo does not render the icons correctly

  2. Masthead fullscreen demo - imgAvatar and pfIcon not rendering correctly in CodeSandbox

  3. Application Launcher - demos that import pfLogoSm not rendering PF icons within dropdown items in CodeSandbox

@jenny-s51
Copy link
Contributor Author

Looks like this is still an issue with the SVG imports in CodeSandbox demos

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Not started
Development

No branches or pull requests

1 participant