-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
I am taking about files like https://github.com/mikhin/vite-figma/blob/main/src/ui/components/Lurkers.tsx
Having SVG in JSX files leads to a few problems:
- You can’t view SVG files in system image viewer
- You can’t edit SVG files in GUI editor
- You can’t use scripts like
svgoon these SVG files
Vite has a few tools to convert SVG file to React component automatically https://dev.to/cassidoo/importing-svg-files-as-react-components-with-vite-l3n
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels