Vodopyanov Egor
Vodopyanov Egor
@emlai SVGR transforms SVG icons to React components, how you expect you react component to look like in the output?
I don't think it's possible with this plugin. you can write your babel-plugin to transform svg to empty tag https://react-svgr.com/docs/custom-transformations/
viewBox can be saved with ``` svgr({ svgoConfig: { plugins: [ { name: 'removeViewBox', active: false }, ], }, }) ```
`class` can be removed with ``` { name: 'removeAttrs', params: { attrs: 'class' }, }, ```
I have the same issue. running on M1 mac
Any ideas about how to achieve this behavior until we wait for electron support?
@ishandutta2007 did you find any workaround? i use `d.shell(['pm', 'grant', 'appName', 'android.permission.POST_NOTIFICATIONS'])`
> Unfortunately I cannot track back to find out the reason. Same, This happens because variable in new file is not imported anywhere yet, once i import it linter resolves,...
It should be in `dep` but only when properly used https://github.com/lxieyang/chrome-extension-boilerplate-react/issues/114. right now it's unused