Skip to content

Commit 06de5bb

Browse files
authored
Merge pull request #1535 from Ruriel/bugfix/issue-1247-next-page-and-previous-page-titles
Adding title props in both backIconButtonProps and nextIconButtonProps
2 parents 4d8109f + 9a905b7 commit 06de5bb

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

examples/text-localization/index.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,10 @@ class Example extends React.Component {
4949
body: {
5050
noMatch: "Sorry we could not find any records!",
5151
},
52+
pagination:{
53+
next: "Following page",
54+
privous: "Preceding page"
55+
},
5256
filter: {
5357
all: "All Records",
5458
title: "OUR FILTERS",

package-lock.json

Lines changed: 4 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/components/TablePagination.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,11 +80,13 @@ function TablePagination(props) {
8080
id: 'pagination-back',
8181
'data-testid': 'pagination-back',
8282
'aria-label': textLabels.previous,
83+
title: textLabels.previous,
8384
}}
8485
nextIconButtonProps={{
8586
id: 'pagination-next',
8687
'data-testid': 'pagination-next',
8788
'aria-label': textLabels.next,
89+
title: textLabels.next,
8890
}}
8991
SelectProps={{
9092
id: 'pagination-input',

0 commit comments

Comments
 (0)