react-simple-heatmap
Advanced tools
Comparing version
@@ -174,4 +174,4 @@ import React, { Component, Fragment } from 'react'; | ||
// const legendLabels = [0, 0.2, 0.4, 0.6, 0.8, 1]; | ||
var yLabels = [0, 0.2, 0.4, 0.6, 0.8, 1]; | ||
var xLabels = [0, 0.2, 0.4, 0.6, 0.8, 1]; | ||
// const yLabels = [0, 0.2, 0.4, 0.6, 0.8, 1]; | ||
// const xLabels = [0, 0.2, 0.4, 0.6, 0.8, 1]; | ||
@@ -189,2 +189,4 @@ // Create the legend | ||
console.log("legendStep", legendLabels); | ||
// console.log(legendLabels); | ||
@@ -260,3 +262,3 @@ | ||
), | ||
this.props.showLegend && min && React.createElement( | ||
this.props.showLegend && min !== undefined && React.createElement( | ||
Fragment, | ||
@@ -263,0 +265,0 @@ null, |
@@ -179,4 +179,4 @@ 'use strict'; | ||
// const legendLabels = [0, 0.2, 0.4, 0.6, 0.8, 1]; | ||
var yLabels = [0, 0.2, 0.4, 0.6, 0.8, 1]; | ||
var xLabels = [0, 0.2, 0.4, 0.6, 0.8, 1]; | ||
// const yLabels = [0, 0.2, 0.4, 0.6, 0.8, 1]; | ||
// const xLabels = [0, 0.2, 0.4, 0.6, 0.8, 1]; | ||
@@ -194,2 +194,4 @@ // Create the legend | ||
console.log("legendStep", legendLabels); | ||
// console.log(legendLabels); | ||
@@ -265,3 +267,3 @@ | ||
), | ||
this.props.showLegend && min && React__default.createElement( | ||
this.props.showLegend && min !== undefined && React__default.createElement( | ||
React.Fragment, | ||
@@ -268,0 +270,0 @@ null, |
{ | ||
"name": "react-simple-heatmap", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"description": "A simple React component to create responsive heatmap.", | ||
@@ -5,0 +5,0 @@ "author": "JulienRioux", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
53401
0.09%629
0.32%