react-carousel-query
Version:
A infinite carousel component made with react that handles the pagination for you.
21 lines (18 loc) • 400 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.init = void 0;
var init = function init(_ref) {
var provider = _ref.provider,
fullAPI = _ref.fullAPI;
return {
api: provider.renderPreview ? {
renderPreview: provider.renderPreview
} : {},
init: function init() {
provider.handleAPI(fullAPI);
}
};
};
exports.init = init;