Force pagination: how to setCurrent page to 1 #4687
-
Hi! I'm lookin for some help with my issue. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @v4voloshyn, I think you can use the <Tabs
onChange={() => {
setCurrent(1);
}}
></Tabs> I hope this can help you. |
Beta Was this translation helpful? Give feedback.
Hi @v4voloshyn,
I think you can use the
setCurrent
method to set the current 1 when you switch the tabs. Here is an example:I hope this can help you.