Open jiachen247 opened 5 years ago
Did you look at the example? You don’t need the curly braces
the demo imports using the relative path so its dosent help much.
I tried without also and it didnt work. Im using typesript.
import GooglePicker from 'react-google-picker'
should work as you have installed it as a package it will automatically resolve the path.
Weird. At first says Module not found: Can't resolve 'react' in '...\node_modules\react-google-picker\dist'
I uninstalled it , then installed it again and it works ok.
can you close this issue if this is now fixed please?
import {GooglePicker} from 'react-google-picker'
does not work