react-tradingview-embed icon indicating copy to clipboard operation
react-tradingview-embed copied to clipboard

React components for TradingView Embeds.

React TradingView Embeds



Usage

  • npm install --save react-tradingview-embed
import { AdvancedChart } from "react-tradingview-embed";

const App = () => <AdvancedChart widgetProps={{"theme": "dark"}} />;

// If widgets props are missing, use widgetPropsAny, ex:
// - <AdvancedChart widgetPropsAny={{"newProp": true}} />
//
// > If redeclarations, widgetPropsAny keys will override widgetProps.

Widget support