@ambuj.bhaskar/react-component-library 0.30.4 → 0.30.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +34 -34
- package/bin/cli.js +86 -86
- package/dist/assets/index.css +1 -1
- package/dist/index.cjs +109 -109
- package/dist/index.d.ts +4 -1
- package/dist/index.js +5593 -5577
- package/dist/index.umd.js +111 -111
- package/package.json +106 -106
package/dist/index.d.ts
CHANGED
|
@@ -1315,7 +1315,7 @@ declare type Origin = "top-left" | "bottom-left";
|
|
|
1315
1315
|
|
|
1316
1316
|
declare type OverridableAntdProps = Omit<TableProps_2<any>, "size" | "title" | "footer">;
|
|
1317
1317
|
|
|
1318
|
-
export declare const Pagination: ({ totalPages, currentPage, onPageChange, onNext, onPrev, color, size, width, inputWidth, showPages, showArrows, className, }: PaginationProps) => JSX_2.Element;
|
|
1318
|
+
export declare const Pagination: ({ totalPages, currentPage, onPageChange, onNext, onPrev, color, size, width, inputWidth, showPages, showArrows, showPageSize, pageSizes, onPageSizeChange, className, }: PaginationProps) => JSX_2.Element;
|
|
1319
1319
|
|
|
1320
1320
|
export declare type PaginationProps = {
|
|
1321
1321
|
totalPages: number;
|
|
@@ -1329,6 +1329,9 @@ export declare type PaginationProps = {
|
|
|
1329
1329
|
inputWidth?: CSSstring;
|
|
1330
1330
|
showPages?: boolean;
|
|
1331
1331
|
showArrows?: boolean;
|
|
1332
|
+
showPageSize?: boolean;
|
|
1333
|
+
pageSizes?: number[];
|
|
1334
|
+
onPageSizeChange?: (pageSize: number) => void;
|
|
1332
1335
|
className?: string;
|
|
1333
1336
|
};
|
|
1334
1337
|
|