Skip to content

Commit

Permalink
[added] utils object to exported src/index
Browse files Browse the repository at this point in the history
[added] index.js in src/utils to expose various utilities
  • Loading branch information
tomatau committed Jun 1, 2015
1 parent 1449472 commit d105749
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ import Table from './Table';
import TabPane from './TabPane';
import Thumbnail from './Thumbnail';
import Tooltip from './Tooltip';
import utils from './utils';
import Well from './Well';
import styleMaps from './styleMaps';

Expand Down Expand Up @@ -104,6 +105,7 @@ export default {
TabPane,
Thumbnail,
Tooltip,
utils,
Well,
styleMaps
};
13 changes: 13 additions & 0 deletions src/utils/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import childrenValueInputValidation from './childrenValueInputValidation';
import createChainedFunction from './createChainedFunction';
import CustomPropTypes from './CustomPropTypes';
import domUtils from './domUtils';
import ValidComponentChildren from './ValidComponentChildren';

export default {
childrenValueInputValidation,
createChainedFunction,
CustomPropTypes,
domUtils,
ValidComponentChildren
};

0 comments on commit d105749

Please sign in to comment.