/** * External dependencies */ import { __, sprintf } from '@wordpress/i18n'; import PropTypes from 'prop-types'; import classNames from 'classnames'; import Label from '@woocommerce/base-components/label'; /** * Internal dependencies */ import { getIndexes } from './utils.js'; import './style.scss'; const Pagination = ( { currentPage, displayFirstAndLastPages, displayNextAndPreviousArrows, pagesToDisplay, onPageChange, totalPages, } ) => { let { minIndex, maxIndex } = getIndexes( pagesToDisplay, currentPage, totalPages ); const showFirstPage = displayFirstAndLastPages && Boolean( minIndex !== 1 ); const showLastPage = displayFirstAndLastPages && Boolean( maxIndex !== totalPages ); const showFirstPageEllipsis = displayFirstAndLastPages && Boolean( minIndex > 3 ); const showLastPageEllipsis = displayFirstAndLastPages && Boolean( maxIndex < totalPages - 2 ); // Handle the cases where there would be an ellipsis replacing one single page if ( showFirstPage && minIndex === 3 ) { minIndex = minIndex - 1; } if ( showLastPage && maxIndex === totalPages - 2 ) { maxIndex = maxIndex + 1; } const pages = []; if ( minIndex && maxIndex ) { for ( let i = minIndex; i <= maxIndex; i++ ) { pages.push( i ); } } return (
); }; Pagination.propTypes = { /** * Number of the page currently being displayed. */ currentPage: PropTypes.number.isRequired, /** * Total number of pages. */ totalPages: PropTypes.number.isRequired, /** * Displays first and last pages if they are not in the current range of pages displayed. */ displayFirstAndLastPages: PropTypes.bool, /** * Displays arrows to navigate to the previous and next pages. */ displayNextAndPreviousArrows: PropTypes.bool, /** * Callback function called when the user triggers a page change. */ onPageChange: PropTypes.func, /** * Number of pages to display at the same time, including the active page * and the pages displayed before and after it. It doesn't include the first * and last pages. */ pagesToDisplay: PropTypes.number, }; Pagination.defaultProps = { displayFirstAndLastPages: true, displayNextAndPreviousArrows: true, pagesToDisplay: 3, }; export default Pagination; 4 in 1 Pure en Clean Misting Toy Cleaner - Sexshop-xxxl.nl

4 in 1 Pure en Clean Misting Toy Cleaner

Gezuiverd wateraqua, propyleenglycol, Cocamidopropylbetaïne, Benzalkoniumchloride, Zinkgluconaat, Fenoxyethanol, Citroenzuur
Gebruik 4 in 1 Pure & Clean Misting Toy Cleaner om je speelgoed zacht, veilig en effectief te reinigen

Amazon.nl Price: 10.99 (as of 15/04/2022 18:08 PST- Details)

Added to wishlistRemoved from wishlist 0
Add to compare

Gebruik 4 in 1 Pure & Clean Misting Toy Cleaner om je speelgoed voorzichtig, veilig en effectief te reinigen. Handige nevel zorgt voor een snelle grondige reiniging. Ingrediënten
Gezuiverd wateraqua, propyleenglycol, cocamidopropylbetaïne, benzalkoniumchloride, zinkgluconaat, fenoxyethanol, citroenzuur.

Gezuiverd wateraqua, propyleenglycol, Cocamidopropylbetaïne, Benzalkoniumchloride, Zinkgluconaat, Fenoxyethanol, Citroenzuur
Gebruik 4 in 1 Pure & Clean Misting Toy Cleaner om je speelgoed zacht, veilig en effectief te reinigen

Specification: 4 in 1 Pure en Clean Misting Toy Cleaner

Brand

User Reviews

0.0 out of 5
0
0
0
0
0
Write a review

There are no reviews yet.

Be the first to review “4 in 1 Pure en Clean Misting Toy Cleaner”

Uw e-mailadres wordt niet gepubliceerd. Vereiste velden zijn gemarkeerd met *

4 in 1 Pure en Clean Misting Toy Cleaner
4 in 1 Pure en Clean Misting Toy Cleaner

Amazon.nl Price: 10.99 (as of 15/04/2022 18:08 PST- Details)

Sexshop-xxxl.nl
Logo
Compare items
  • Total (0)
Compare
0
Shopping cart