We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a2c7f63 commit bda9451Copy full SHA for bda9451
2 files changed
demo/App.jsx
@@ -1,6 +1,5 @@
1
import React from "react";
2
-import InlineShareButtons from '../src/components/InlineShareButtons';
3
-import StickyShareButtons from '../src/components/StickyShareButtons';
+import {InlineShareButtons, StickyShareButtons} from 'sharethis-reactjs';
4
5
class App extends React.Component {
6
src/index.js
@@ -1,4 +1,3 @@
// export products
-export InlineShareButtons from './components/InlineShareButtons';
-export InlineFollowButtons from './components/InlineFollowButtons';
-export StickyShareButtons from './components/StickyShareButtons';
+export {default as InlineShareButtons} from './components/InlineShareButtons';
+export {default as StickyShareButtons} from './components/StickyShareButtons';
0 commit comments