Se prueba de nuevo que funcione el module.exports
Se sube a version 1.0.3
This commit is contained in:
parent
a73b19b65f
commit
606f88ce22
@ -1,7 +1,5 @@
|
|||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
|
|
||||||
import './css/AvancesCard.css';
|
|
||||||
|
|
||||||
import Chart from 'chart.js';
|
import Chart from 'chart.js';
|
||||||
|
|
||||||
import 'chartjs-chart-radial-gauge/build/Chart.RadialGauge.umd.min.js';
|
import 'chartjs-chart-radial-gauge/build/Chart.RadialGauge.umd.min.js';
|
6
index.js
6
index.js
@ -1,3 +1,5 @@
|
|||||||
import RadialGauge from './RadialGauge.jsx';
|
import RadialGauge from './RadialGauge';
|
||||||
|
|
||||||
export default { RadialGauge }
|
module.exports = {
|
||||||
|
RadialGauge,
|
||||||
|
}
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "chartjs-2-react",
|
"name": "chartjs-2-react",
|
||||||
"version": "1.0.1",
|
"version": "1.0.3",
|
||||||
"description": "Libreria de chart.js para react desarrollada por Alejandro Lembke Barrientos.",
|
"description": "Libreria de chart.js para react desarrollada por Alejandro Lembke Barrientos.",
|
||||||
"main": "index.jsx",
|
"main": "index.jsx",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
Loading…
Reference in New Issue
Block a user