Skip to content

Commit d105749

Browse files
committedJun 1, 2015
[added] utils object to exported src/index
[added] index.js in src/utils to expose various utilities
1 parent 1449472 commit d105749

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed
 

‎src/index.js

+2
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ import Table from './Table';
4949
import TabPane from './TabPane';
5050
import Thumbnail from './Thumbnail';
5151
import Tooltip from './Tooltip';
52+
import utils from './utils';
5253
import Well from './Well';
5354
import styleMaps from './styleMaps';
5455

@@ -104,6 +105,7 @@ export default {
104105
TabPane,
105106
Thumbnail,
106107
Tooltip,
108+
utils,
107109
Well,
108110
styleMaps
109111
};

‎src/utils/index.js

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
import childrenValueInputValidation from './childrenValueInputValidation';
2+
import createChainedFunction from './createChainedFunction';
3+
import CustomPropTypes from './CustomPropTypes';
4+
import domUtils from './domUtils';
5+
import ValidComponentChildren from './ValidComponentChildren';
6+
7+
export default {
8+
childrenValueInputValidation,
9+
createChainedFunction,
10+
CustomPropTypes,
11+
domUtils,
12+
ValidComponentChildren
13+
};

0 commit comments

Comments
 (0)
Please sign in to comment.