0.0.3 • Published 3 years ago

@omersalkanovic/react-trading-view v0.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

React TradingView Embeds


Usage

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

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

Missing widget props

import { AdvancedChart } from "react-tradingview-widget";

// If widgets props are missing, use widgetPropsAny
const App = () => <AdvancedChart widgetPropsAny={{"newProp": true}} />;

If redeclared, props set in widgetPropsAny will override those in widgetProps.

Widget support