JorrinKievit / react-ts-tradingview-widgets

This is a React component library for TradingView Widgets
https://tradingview-widgets.jorrinkievit.xyz/
MIT License
154 stars 48 forks source link

MiniChart is not passing the underLineBottomColor variable to the Widget component #35

Closed gmaye closed 1 year ago

gmaye commented 1 year ago

https://github.com/JorrinKievit/react-ts-tradingview-widgets/blob/f49a00a0318eefd544457ece874862d1476e28e6/src/components/MiniChart.tsx#L34

Once you destructure the underLineBottomColor key from the config object expected in the component you don't pass it onto the scriptHTML object in the Widget component. As a result the underLineBottomColor value gets lost.