14 lines
352 B
JavaScript
Executable File
14 lines
352 B
JavaScript
Executable File
import React from 'react';
|
|
import PropTypes from 'prop-types';
|
|
|
|
export const CustomPaginationTotal = ({ from, to, size }) => (
|
|
<span className="small ml-2">
|
|
Showing { from } to { to } of { size } Results
|
|
</span>
|
|
);
|
|
CustomPaginationTotal.propTypes = {
|
|
from: PropTypes.number,
|
|
to: PropTypes.number,
|
|
size: PropTypes.number,
|
|
};
|