oak-frontend-base/es/components/pagination/web.d.ts

16 lines
574 B
TypeScript

import React from "react";
import { WebComponentProps } from "../../types/Page";
import { ED } from "../../types/AbstractComponent";
export interface IPaginationProps {
style?: React.CSSProperties;
className?: string;
showQuickJumper?: boolean;
size?: "default" | "small";
showSizeChanger?: boolean;
showTotal?: (total: number, range: [number, number]) => React.ReactNode;
newTotal: number;
}
export default function Render(props: WebComponentProps<ED, keyof ED, true, IPaginationProps, {
setTotal: () => void;
}>): React.JSX.Element | null;