Skip to content

Kraggr/react-tradingview-components

Repository files navigation

react-tradingview-components

React components for rendering the TradingView Widgets

NPM JavaScript Style Guide

DEMO

Checkout a demo here https://kraggr.github.io/react-tradingview-components/

Install

yarn add react-tradingview-components

OR

npm install --save react-tradingview-components

Usage

import React, { Component } from 'react'

import TradingViewStockChartWidget from 'react-tradingview-components'

class Example extends Component {
  render() {
    return <TradingViewStockChartWidget 
              symbol='NASDAQ:AAPL'
              theme='Dark' 
              range='12m'
            />
  }
}

Screen Shot 2021-04-12 at 3 22 54

License

MIT © hugoduar