Closed YOEL311 closed 1 year ago
Hey @dannyhw I promise you this last issue (:
if you want to use svgs like components you need a loader for svgs that works for webpack, please check this comment on a previous issue:
https://github.com/storybookjs/addon-react-native-web/issues/50#issuecomment-1465026150
Thnaks
Describe the bug
A clear and concise description of what the bug is.
In my react-native App when I need to display an SVG icon (without any manipulation of the SVG option) I do it in this way
to order work I need to add in my
metro.config
file this configurationbut in react-native-web in the storybook I got the error
this my metro.config.js
Steps to reproduce the behavior
git clone git@github.com:YOEL311/storybookPublic.git cd storybookPublic git switch SVG // switch to branch yarn yarn storybook