rafaelklaessen/react-tradingview-widget

It seems not working for your example.

Closed this issue · 4 comments

Hi ,
I try to add a 'TradingViewWidget' component to root view of my application. But it always appear error. 'can't find variable: Themes'.

Try

import TradingViewWidget, { Themes } from 'react-tradingview-widget';

Yes, I imported this. But i don't work anymore. Please give me a example ?

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.

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.