There was an error while loading. Please reload this page.
1 parent 8001673 commit 8676923Copy full SHA for 8676923
1 file changed
components/lib/paginator/Paginator.js
@@ -12,6 +12,7 @@ import { PageLinks } from './PageLinks';
12
import { PaginatorBase } from './PaginatorBase';
13
import { PrevPageLink } from './PrevPageLink';
14
import { RowsPerPageDropdown } from './RowsPerPageDropdown';
15
+import { CustomOption } from './CustomOption';
16
17
export const Paginator = React.memo(
18
React.forwardRef((inProps, ref) => {
@@ -251,7 +252,18 @@ export const Paginator = React.memo(
251
252
break;
253
254
default:
- element = null;
255
+ element = (
256
+ <CustomOption hostName="Paginator"
257
+ key={key}
258
+ page={page}
259
+ totalPages={totalPages}
260
+ totalRecords={props.totalRecords}
261
+ rows={props.rows}
262
+ first={props.first}
263
+ template={template}
264
+ onChange={changePage}
265
+ ptm={ptm} />
266
+ );
267
268
}
269
0 commit comments