Socket
Socket
Sign inDemoInstall

react-tradingview-widget

Package Overview
Dependencies
8
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.0 to 1.0.1

2

package.json
{
"name": "react-tradingview-widget",
"version": "1.0.0",
"version": "1.0.1",
"repository": {

@@ -5,0 +5,0 @@ "type": "git",

# react-tradingview-widget
React component for rendering TradingView Advanced Real-Time Chart Widget.
## Install
`yarn add react-tradingview-widget`
or
`npm install --save react-tradingview-widget`
## Usage
### Basic example
```javascript
import TradingViewWidget from 'react-tradingview-widget';
const App = () => (
<TradingViewWidget symbol="NASDAQ:AAPL" />
);
```
All given props are passed on to the widget config.
### Advanced example
```javascript
import TradingViewWidget from 'react-tradingview-widget';
const App = () => (
<TradingViewWidget
symbol="NASDAQ:AAPL"
theme="Dark"
locale="fr"
autosize
/>
);
```
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc