I\'m trying to add Storybook to an existing React app but getting errors with imported svg files. The svg is imported and used like:
import Border from \'./i
In Storybook 6, You have to import it like this:
import { ReactComponent as Border } from './images/border.inline.svg'
Try that if it also works for your version since this question is from a year ago.