react-blips
Version:
Official React bindings for Blips
18 lines (13 loc) • 689 B
JavaScript
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
import { createWithOperationsHoc } from './createWithOperationsHoc';
export default (function () {
for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
args[_key] = arguments[_key];
}
var config = {};
if (_typeof(args[args.length - 1]) === 'object') {
config = args.pop();
}
var sources = [].concat(args);
return createWithOperationsHoc(sources, config);
});