@omersalkanovic/react-trading-view
TypeScript icon, indicating that this package has built-in type declarations

0.0.3 • Public • Published

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


Package Sidebar

Install

npm i @omersalkanovic/react-trading-view

Weekly Downloads

0

Version

0.0.3

License

MIT

Unpacked Size

149 kB

Total Files

106

Last publish

Collaborators

  • omersalkanovic