@pushwoosh/dumb-components 1.0.39 → 1.0.40

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.
@@ -8,13 +8,15 @@ export function TablePagination(props) {
8
8
  totalPages,
9
9
  limit,
10
10
  allLimits,
11
+ padding = 24,
11
12
  onChangePage,
12
13
  onChangeLimit,
13
14
  children
14
15
  } = props;
15
16
  return React.createElement(Horizontal, {
17
+ "$alignItems": "center",
16
18
  "$justifyContent": "space-between",
17
- "$padding": 24
19
+ "$padding": padding
18
20
  }, React.createElement(Horizontal, {
19
21
  "$gap": 8,
20
22
  "$alignItems": "center"
@@ -4,6 +4,7 @@ export type TablePaginationProps = PropsWithChildren<{
4
4
  totalPages: number;
5
5
  limit: number;
6
6
  allLimits: number[];
7
+ padding?: string | number;
7
8
  onChangePage: (page: number) => void;
8
9
  onChangeLimit: (limit: number) => void;
9
10
  }>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/dumb-components",
3
- "version": "1.0.39",
3
+ "version": "1.0.40",
4
4
  "description": "React components to build Pushwoosh products",
5
5
  "main": "index.js",
6
6
  "module": "index.js",