Skip to content

Commit 41ad659

Browse files
authored
Merge pull request #55 from ganderzz/hotfix/fix-export-statements
Fix export statements of components
2 parents dc20fc3 + fdaffd2 commit 41ad659

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

dist/react-scroll-to.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-scroll-to",
3-
"version": "1.2.1",
3+
"version": "1.2.2",
44
"description": "Scroll to a position using react",
55
"main": "./dist/react-scroll-to.js",
66
"types": "./dist/definitions",

src/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
export { ScrollTo } from "./ScrollTo";
2-
export { ScrollArea } from "./ScrollArea";
3-
export { ScrollToHOC } from "./ScrollToHOC";
1+
export { default as ScrollTo } from "./ScrollTo";
2+
export { default as ScrollArea } from "./ScrollArea";
3+
export { default as ScrollToHOC } from "./ScrollToHOC";

0 commit comments

Comments
 (0)