Description
When using the StockMarket component I was expecting to be able to use the Exchanges type for the exchange property within this component. Instead I found that the StockMarket component is using a a union type where it has defined its own exchanges. These exchanges are different from the ones used in the Exchanges type.
Exchanges type:
StockMarket union:
https://github.com/JorrinKievit/react-ts-tradingview-widgets/blob/09959377b501b44d3cfef4c113a14c33e00c5c1d/src/components/StockMarket.tsx#L8C3-L8C3
@JorrinKievit Is this done on purpose? I also noticed that none of them match the exchanges found on for example https://www.tradingview.com/widget/market-movers/ - this is causing issues when using the StockMarket component.
Description
When using the StockMarket component I was expecting to be able to use the Exchanges type for the exchange property within this component. Instead I found that the StockMarket component is using a a union type where it has defined its own exchanges. These exchanges are different from the ones used in the Exchanges type.
Exchanges type:
react-ts-tradingview-widgets/src/index.ts
Line 384 in 0995937
StockMarket union:
https://github.com/JorrinKievit/react-ts-tradingview-widgets/blob/09959377b501b44d3cfef4c113a14c33e00c5c1d/src/components/StockMarket.tsx#L8C3-L8C3
@JorrinKievit Is this done on purpose? I also noticed that none of them match the exchanges found on for example https://www.tradingview.com/widget/market-movers/ - this is causing issues when using the StockMarket component.