Skip to content

Commit

Permalink
detault to showTitle false
Browse files Browse the repository at this point in the history
  • Loading branch information
okauppinen committed Dec 2, 2024
1 parent 2b1e19e commit cf9c543
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/react/components/Pagination.jsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import React from 'react';
import { Pagination as AntPagination } from 'antd';

export const Pagination = ({ children, ...other}) => (
<AntPagination { ...other }>
// No tooltip localization default to showTitle false
export const Pagination = ({ children, showTitle = false, ...other}) => (
<AntPagination showTitle={showTitle} { ...other }>
{ children }
</AntPagination>
);

0 comments on commit cf9c543

Please sign in to comment.