We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e7e5de commit 134f90cCopy full SHA for 134f90c
src/withScriptjs.jsx
@@ -9,7 +9,7 @@ const LOADING_STATE_NONE = `NONE`
9
const LOADING_STATE_BEGIN = `BEGIN`
10
const LOADING_STATE_LOADED = `LOADED`
11
12
-export default function withScriptjs(BaseComponent) {
+export function withScriptjs(BaseComponent) {
13
const factory = createEagerFactory(BaseComponent)
14
15
class Container extends React.PureComponent {
@@ -83,3 +83,5 @@ export default function withScriptjs(BaseComponent) {
83
84
return Container
85
}
86
+
87
+export default withScriptjs
0 commit comments