From a73b19b65f8e839c136a9d7986db10d5ff4b1049 Mon Sep 17 00:00:00 2001 From: Alejandro Lembke Barrientos Date: Thu, 21 Nov 2019 12:19:01 -0600 Subject: [PATCH] Se corrige el error del export del componente. --- index.js | 2 +- package.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/index.js b/index.js index 3a1a6c0..7238fb5 100644 --- a/index.js +++ b/index.js @@ -1,3 +1,3 @@ import RadialGauge from './RadialGauge.jsx'; -module.exports = { RadialGauge } \ No newline at end of file +export default { RadialGauge } \ No newline at end of file diff --git a/package.json b/package.json index dab1a62..13eba62 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { - "name": "react-chartjs-2-aleleba", - "version": "1.0.0", + "name": "chartjs-2-react", + "version": "1.0.1", "description": "Libreria de chart.js para react desarrollada por Alejandro Lembke Barrientos.", "main": "index.jsx", "scripts": {