diff --git a/RadialGauge.jsx b/RadialGauge.js similarity index 99% rename from RadialGauge.jsx rename to RadialGauge.js index 2f16dc5..f112154 100644 --- a/RadialGauge.jsx +++ b/RadialGauge.js @@ -1,7 +1,5 @@ import React, { Component } from 'react'; -import './css/AvancesCard.css'; - import Chart from 'chart.js'; import 'chartjs-chart-radial-gauge/build/Chart.RadialGauge.umd.min.js'; diff --git a/index.js b/index.js index 7238fb5..4fecf1b 100644 --- a/index.js +++ b/index.js @@ -1,3 +1,5 @@ -import RadialGauge from './RadialGauge.jsx'; +import RadialGauge from './RadialGauge'; -export default { RadialGauge } \ No newline at end of file +module.exports = { + RadialGauge, +} \ No newline at end of file diff --git a/package.json b/package.json index 13eba62..0259e72 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "chartjs-2-react", - "version": "1.0.1", + "version": "1.0.3", "description": "Libreria de chart.js para react desarrollada por Alejandro Lembke Barrientos.", "main": "index.jsx", "scripts": {