Skip to content

Commit e113a4b

Browse files
committed
Export all components/HOC at once. Fixes #2
1 parent 5e0d643 commit e113a4b

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

src/index.js

+5-6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
export { default as LazyLoadImage }
2-
from './components/LazyLoadImage.jsx';
3-
export { default as LazyLoadComponent }
4-
from './components/LazyLoadComponent.jsx';
5-
export { default as trackWindowScroll }
6-
from './hoc/trackWindowScroll.js';
1+
import LazyLoadImage from './components/LazyLoadImage.jsx';
2+
import LazyLoadComponent from './components/LazyLoadComponent.jsx';
3+
import trackWindowScroll from './hoc/trackWindowScroll.js';
4+
5+
export { LazyLoadImage, LazyLoadComponent, trackWindowScroll };

0 commit comments

Comments
 (0)