@brizy/ui
Version:
React elements in Brizy style
7 lines (6 loc) • 470 B
JavaScript
import React from "react";
import AntPagination from "antd/lib/pagination";
import { BRZ_PREFIX } from "../constants";
export const Pagination = ({ current, pageSize, total, onChange, size = "small", simple, disabled, }) => {
return (React.createElement(AntPagination, { className: `${BRZ_PREFIX}-pagination-mini`, current: current, total: total, showSizeChanger: false, pageSize: pageSize, size: size, onChange: onChange, simple: simple, disabled: disabled }));
};