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

SVG Component Not Working #12626

Closed
1 task
deepanshu88 opened this issue Dec 4, 2024 · 0 comments · Fixed by #12625
Closed
1 task

SVG Component Not Working #12626

deepanshu88 opened this issue Dec 4, 2024 · 0 comments · Fixed by #12625
Labels
- P3: minor bug An edge case that only affects very specific usage (priority) pkg: astro Related to the core `astro` package (scope)

Comments

@deepanshu88
Copy link

deepanshu88 commented Dec 4, 2024

Astro Info

Astro                    v5.0.2
Node                     v22.1.0
System                   Windows (x64)
Package Manager          npm
Output                   static
Adapter                  @astrojs/cloudflare
Integrations             @astrojs/tailwind
                         @astrojs/sitemap
                         @astrojs/mdx
                         astro-icon
                         astro-compress
                         astrowind-integration
                         @astrojs/react

If this issue only occurs in one browser, which browser is a problem?

No response

Describe the Bug

I am getting this error in astro.config.ts when using new SVG component in Astro 5 -
Type 'true' has no properties in common with type '{ mode?: SvgRenderMode | undefined; }

  experimental: {
    responsiveImages: true,
    svg: true,
  }

`

What's the expected result?

import Logo from '../assets/logo.svg'

Link to Minimal Reproducible Example


Participation

  • I am willing to submit a pull request for this issue.
@github-actions github-actions bot added the needs triage Issue needs to be triaged label Dec 4, 2024
@ematipico ematipico added pkg: astro Related to the core `astro` package (scope) - P3: minor bug An edge case that only affects very specific usage (priority) and removed needs triage Issue needs to be triaged labels Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
- P3: minor bug An edge case that only affects very specific usage (priority) pkg: astro Related to the core `astro` package (scope)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants