Files
Airframe-React/app/routes/Tables/ExtendedTable/components/CustomPaginationTotal.js
2019-08-15 00:54:44 +02:00

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,
};