import { Link } from "react-router-dom";
const PaginationBoot = ({ children }) => {
return (
);
};
const PageItem = ({
active = false,
disabled = false,
className = "",
style,
activeLabel = "(current)",
children,
...props
}) => {
return (
{children}
);
};
const createButton = (name, defaultValue, label = name) => {
function Button({ children, ...props }) {
return (
{children || defaultValue}
{label}
);
}
Button.displayName = name;
return Button;
};
PaginationBoot.First = createButton("First", );
PaginationBoot.Prev = createButton("Prev", );
PaginationBoot.Item = PageItem;
PaginationBoot.Next = createButton("Next", );
PaginationBoot.Last = createButton("Last", );
export default PaginationBoot