import React from "react"; import PropTypes from "prop-types"; import { Button, FormControl } from "react-bootstrap"; const PaginationFooter = (props) => { const { offset, limit, visible, total, next, prev, handleLimit } = props; return (
Displaying {visible ? offset + 1 : offset}-{offset + visible}{" "}
{total ? `of ${total}` : ""}
{offset >= 1 ? (
) : (
)}
{offset + visible < total ? (
) : (
)}