React component for rendering the TradingView Technical Analysis Widget
npm install react-tradingview-technical-analysisReact component for rendering the
npm install --save react-tradingview-technical-analysis###### 2) Import the component to your projectimport TechnicalAnalysis from 'react-tradingview-technical-analysis';
###### 3) Use as if it was any other component
``javascript`
/>
Name | Type | Default Value | Values
------------- | ------------- | ------------- | -------------
autoSize | bool | false | true, falselight
colorTheme | enum | | light, darktradingview-widget-container
containerId | string | | Any Container Id450
height | number | | Any Number1m
interval | enum | | 1m, 5m, 15m, 1h, 4h, 1W, 1Mfalse
isTransparent | bool | | true, falseen
locale | string | | Any Locale Codetrue
showIntervalTabs | bool | | true, false
symbol | string | Required Prop | Any Symbol
width | number | 425 |Any Number
###### Example with props:
`
import TechnicalAnalysis from 'react-tradingview-technical-analysis';
render() {
...
interval={TechnicalAnalysis.THEMES.ONE_HOUR}
autoSize={true}
/>
...
`
`
import TechnicalAnalysis from 'react-tradingview-technical-analysis';
render() {
...
colorTheme ={TechnicalAnalysis.THEMES.DARK}
/>
...
`
###### Example with exported constants:
`
import TechnicalAnalysis, { THEMES, INTERVALS} from 'react-tradingview-technical-analysis';
render() {
...
colorTheme ={THEMES.DARK}
interval={INTERVALS.ONE_WEEK}
/>
...
``