UNPKG

@thehappycoder/react-responsive-pagination

Version:
10 lines (9 loc) 363 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); function createNavWidthCalculator(widths) { return function navWidthCalculator(type, enabled) { var widthsForType = widths[type]; return enabled ? widthsForType.disabled : widthsForType.disabled; }; } exports.createNavWidthCalculator = createNavWidthCalculator;