From f6dab4e8ed3e0365b8b54bc182e54438fe261265 Mon Sep 17 00:00:00 2001 From: Ashwin Bihari Date: Fri, 18 Aug 2017 21:39:13 -0400 Subject: [PATCH] - Change export style --- src/index.js | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/src/index.js b/src/index.js index 4196a36..536d728 100644 --- a/src/index.js +++ b/src/index.js @@ -1,4 +1,11 @@ -exports.Item = require('./Item').default -exports.Lory = require('./Lory').default -exports.Prev = require('./Prev').default -exports.Next = require('./Next').default +import Lory from './Lory' +import Item from './Item' +import Next from './Next' +import Prev from './Prev' + +export { + Lory, + Item, + Next, + Prev +}