Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ANTD: how to change the text inside the pagination select box

how can I change the text inside the ant design pagination select? there's no solution in the documents,

I need to change the word "page" to something else: enter image description here

like image 399
Sima Ghoreyshi Avatar asked Oct 20 '25 14:10

Sima Ghoreyshi


1 Answers

I try this solution and it works.

<Pagination
    defaultCurrent={1}
    total={50}
    locale={{ items_per_page: "/ หน้า"}}
/>
like image 191
Chairat Wimolrat Avatar answered Oct 22 '25 03:10

Chairat Wimolrat



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!