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

Improve SVG type #40

Open
birdofpreyru opened this issue Jul 22, 2024 · 1 comment
Open

Improve SVG type #40

birdofpreyru opened this issue Jul 22, 2024 · 1 comment
Labels
On Hold Blocked by another ticket / issue / etc. P3 Small fixes. Easy fixes to do in spare time.

Comments

@birdofpreyru
Copy link
Owner

const component: ComponentType<SVGAttributes<HTMLElement>>;

it should be

  const component: ComponentType<SVGAttributes<HTMLElement> & {
    ref: Ref<SVGElement>;
  }>;
@birdofpreyru birdofpreyru added the P3 Small fixes. Easy fixes to do in spare time. label Jul 22, 2024
@birdofpreyru
Copy link
Owner Author

ref support in Babel SVGR preset is missing — birdofpreyru/babel-preset-svgr#24

@birdofpreyru birdofpreyru added the On Hold Blocked by another ticket / issue / etc. label Jul 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
On Hold Blocked by another ticket / issue / etc. P3 Small fixes. Easy fixes to do in spare time.
Projects
None yet
Development

No branches or pull requests

1 participant