react-jsx-highcharts
Advanced tools
Comparing version 1.3.3-pre.1 to 1.3.3
{ | ||
"name": "react-jsx-highcharts", | ||
"version": "1.3.3-pre.1", | ||
"version": "1.3.3", | ||
"description": "Highcharts charts built using React components", | ||
@@ -5,0 +5,0 @@ "main": "dist/react-jsx-highcharts.min.js", |
@@ -7,5 +7,14 @@ import React, { Component } from 'react'; | ||
static propTypes = { | ||
id: PropTypes.string.isRequired | ||
id: PropTypes.string.isRequired, | ||
update: PropTypes.func // Provided by ChartProvider | ||
}; | ||
componentDidMount () { | ||
this.props.update({ | ||
chart: { | ||
inverted: true | ||
} | ||
}); | ||
} | ||
render () { | ||
@@ -12,0 +21,0 @@ return ( |
import BarSeries from './BarSeries'; | ||
export default BarSeries; | ||
import provideChart from '../ChartProvider'; | ||
export default provideChart(BarSeries); |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
537081
9767
1
1