From d105749b0a48fdb8976405f6e0648e85c286d788 Mon Sep 17 00:00:00 2001 From: Thomas Hudspith-Tatham Date: Sun, 31 May 2015 17:43:30 +0100 Subject: [PATCH] [added] utils object to exported src/index [added] index.js in src/utils to expose various utilities --- src/index.js | 2 ++ src/utils/index.js | 13 +++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 src/utils/index.js diff --git a/src/index.js b/src/index.js index 0f05aed32f..c44952e71d 100644 --- a/src/index.js +++ b/src/index.js @@ -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'; @@ -104,6 +105,7 @@ export default { TabPane, Thumbnail, Tooltip, + utils, Well, styleMaps }; diff --git a/src/utils/index.js b/src/utils/index.js new file mode 100644 index 0000000000..aad9066a10 --- /dev/null +++ b/src/utils/index.js @@ -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 +};