"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.usePaging = void 0;
exports.usePaging = function (containerRef, pagingStrategy) {
    return {
        pageLeft: function () {
            if (!containerRef.current)
                return;
            pagingStrategy.pageLeft(containerRef.current);
        },
        pageRight: function () {
            if (!containerRef.current)
                return;
            pagingStrategy.pageRight(containerRef.current);
        }
    };
};
