Skip to content

Commit

Permalink
mantrajs#6 Added setDefaultComponent wrappers from react-komposer
Browse files Browse the repository at this point in the history
  • Loading branch information
markshust committed Jul 13, 2016
1 parent 479eea8 commit 037f3ed
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/__tests__/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ describe('Module', () => {
'composeWithObservable',
'composeWithMobx',
'composeAll',
'disable'
'disable',
'setDefaultErrorComponent',
'setDefaultLoadingComponent'
];

fnNames.forEach(fnName => {
Expand Down
4 changes: 4 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ import {
composeWithMobx as _composeWithMobx,
composeAll as _composeAll,
disable as _disable,
setDefaultErrorComponent as _setDefaultErrorComponent,
setDefaultLoadingComponent as _setDefaultLoadingComponent,
} from 'react-komposer';

import App from './app';
Expand All @@ -28,3 +30,5 @@ export const composeWithObservable = _composeWithObservable;
export const composeWithMobx = _composeWithMobx;
export const composeAll = _composeAll;
export const disable = _disable;
export const setDefaultErrorComponent = _setDefaultErrorComponent;
export const setDefaultLoadingComponent = _setDefaultLoadingComponent;

0 comments on commit 037f3ed

Please sign in to comment.