playbook_ui 14.9.0 → 14.10.0.pre.rc.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -18,3 +18,5 @@ examples:
18
18
  - advanced_table_inline_row_loading: Inline Row Loading
19
19
  - advanced_table_responsive: Responsive Tables
20
20
  - advanced_table_custom_cell: Custom Components for Cells
21
+ - advanced_table_pagination: Pagination
22
+ - advanced_table_pagination_with_props: Pagination Props
@@ -10,3 +10,5 @@ export { default as AdvancedTableTableProps } from './_advanced_table_table_prop
10
10
  export { default as AdvancedTableInlineRowLoading } from './_advanced_table_inline_row_loading.jsx'
11
11
  export { default as AdvancedTableResponsive } from './_advanced_table_responsive.jsx'
12
12
  export { default as AdvancedTableCustomCell } from './_advanced_table_custom_cell.jsx'
13
+ export { default as AdvancedTablePagination } from './_advanced_table_pagination.jsx'
14
+ export { default as AdvancedTablePaginationWithProps } from './_advanced_table_pagination_with_props.jsx'
@@ -1,6 +1,6 @@
1
1
  import React, { useState } from "react";
2
2
  import classnames from 'classnames'
3
- import { globalProps } from '../utilities/globalProps'
3
+ import { GlobalProps, globalProps } from '../utilities/globalProps'
4
4
  import { buildAriaProps, buildCss, buildDataProps, buildHtmlProps } from '../utilities/props'
5
5
  import Icon from '../pb_icon/_icon';
6
6
 
@@ -14,7 +14,7 @@ type PaginationProps = {
14
14
  onChange?: (pageNumber: number) => void;
15
15
  range?: number;
16
16
  total?: number;
17
- };
17
+ } & GlobalProps;
18
18
 
19
19
  const Pagination = ( props: PaginationProps) => {
20
20
  const {