1 | "use strict";
|
2 |
|
3 | Object.defineProperty(exports, "__esModule", {
|
4 | value: true
|
5 | });
|
6 | exports.default = createPaginationContainer;
|
7 |
|
8 | var _reactRelay = require("react-relay");
|
9 |
|
10 | var _js = require("@kiwicom/js");
|
11 |
|
12 | function createPaginationContainer(Component, fragmentSpec, connectionConfig) {
|
13 | !((0, _js.isObjectEmpty)(fragmentSpec) === false) ? process.env.NODE_ENV !== "production" ? (0, _js.invariant)(false, 'Fragment spec of this pagination container factory cannot be empty.') : (0, _js.invariant)(false) : void 0;
|
14 | return (0, _reactRelay.createPaginationContainer)(Component, fragmentSpec, connectionConfig);
|
15 | } |
\ | No newline at end of file |