Skip to content

k-128/react-tradingview-embed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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