It seems not working for your example.
Closed this issue · 4 comments
LuSoSmartDev commented
Hi ,
I try to add a 'TradingViewWidget' component to root view of my application. But it always appear error. 'can't find variable: Themes'.
rafaelklaessen commented
Try
import TradingViewWidget, { Themes } from 'react-tradingview-widget';
LuSoSmartDev commented
Yes, I imported this. But i don't work anymore. Please give me a example ?
rafaelklaessen commented
Hmm, might be a problem with the build. If you install v1.2.3, does it work then?
Will look at it in a minute.
rafaelklaessen commented
Okay, so there was something wrong with the exporting of the constants.
I fixed in it v1.2.5, if you install it importing Themes
should work.