Update the library react-chartjs-2 that depends on chart.js

This commit is contained in:
Fabien Lavocat
2017-06-12 09:23:01 -07:00
parent aad041f57f
commit c8d5eeea73
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -1,6 +1,7 @@
// Type definitions for react-chartjs-2 2.0
// Project: https://github.com/gor181/react-chartjs-2
// Definitions by: Alexandre Paré <https://github.com/apare>
// Fabien Lavocat <https://github.com/FabienLavocat>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.1
@@ -25,7 +26,7 @@ export interface ChartComponentProps {
}
export interface LinearComponentProps extends ChartComponentProps {
data: ChartData<chartjs.LinearChartData>;
data: ChartData<chartjs.ChartData>;
}
export default class ChartComponent<P extends ChartComponentProps> extends React.Component<P, {}> {
+1 -1
View File
@@ -14,7 +14,7 @@ const data = {
'#36A2EB',
'#FFCE56'
],
hoverBackgroundColor: [
pointHoverBackgroundColor: [
'#FF6384',
'#36A2EB',
'#FFCE56'