Skip to content

Latest commit

 

History

History
45 lines (37 loc) · 1.99 KB

README.md

File metadata and controls

45 lines (37 loc) · 1.99 KB

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