13
app/routes/Tables/ExtendedTable/components/CustomPaginationTotal.js
Executable file
13
app/routes/Tables/ExtendedTable/components/CustomPaginationTotal.js
Executable file
@@ -0,0 +1,13 @@
|
||||
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,
|
||||
};
|
Reference in New Issue
Block a user