From d0354044c9bea37c627009175e4e1280c5725709 Mon Sep 17 00:00:00 2001 From: Liad Yosef Date: Fri, 1 Nov 2019 00:54:37 +0200 Subject: [PATCH] use 'export X from Y' syntax --- src/index.js | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/src/index.js b/src/index.js index 3365f38..a916d27 100644 --- a/src/index.js +++ b/src/index.js @@ -1,10 +1,6 @@ -import Bar from './Bar'; -import Pie from './Pie'; -import Line from './Line'; -import XY from './XY'; -import Radar from './Radar'; -import config from './config'; - -module.exports = { - config, Bar, Pie, Line, XY, Radar, -}; +export Bar from './Bar'; +export Pie from './Pie'; +export Line from './Line'; +export XY from './XY'; +export Radar from './Radar'; +export config from './config';