Any attributes passed to the component is being ignored
Whenever I try to pass `role`, `id`, or `class` no error shows in the IDE and the output HTML doesn't contain any of the inputted attributes.
I thought it might be SVGO, so I disabled it entirely, and the same issue exists.
Not sure if I am doing something wrong or if this is something that needs to be addressed.
The config:
```ts
solidSvg({
defaultAsComponent: false,
svgo: {
svgoConfig: {
removeViewBox: false,
},
},
}),
```
Package version:
```json
"vite-plugin-solid-svg": "^0.7.0",
"solid-js": "^1.8.5",
```
关闭于 2023-12-27 3 条评论