react-flags icon indicating copy to clipboard operation
react-flags copied to clipboard

default basePath undefined

Open JeanCedric opened this issue 7 years ago • 2 comments

Hi,

After installing and copying the vendor folder into public/img, my images were always undefined.

I had to re-set manually the basePath props :

          <Flag
            basePath="/img/flags"
            name="CAN"
            format="png"
            pngSize={64}
            shiny={true}
            alt="Canada Flag"
          />

Just wanted to check if I missed anything or if there was an issue with any update :)

Thx for the module it's great!

JeanCedric avatar Jun 11 '18 09:06 JeanCedric

Same issue.

LukyVj avatar Aug 26 '19 09:08 LukyVj

same issue

luckyxhu avatar Sep 04 '19 17:09 luckyxhu