You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It renders left navigation button (disabled), then first page, and then some dots. It should render nothing and pass everything to renderButton function including left navigation arrow, each step including first step (not happening now) and right navigation function.
And this condition && isClickable needs to go away, because i wanted decide what to render instead of left and right navigation button (don't render them on first and last page). (But the isClickable can be passed to renderFunction if needed)
Hi, i see you recently added renderButton function, but if i set it like this:
renderButton={(props) => { console.log(props); return null; }}
It renders left navigation button (disabled), then first page, and then some dots. It should render nothing and pass everything to renderButton function including left navigation arrow, each step including first step (not happening now) and right navigation function.
Here is the image of output https://paste.pics/10bf961d50b88772d1f995deba31efe4
And this condition && isClickable needs to go away, because i wanted decide what to render instead of left and right navigation button (don't render them on first and last page). (But the isClickable can be passed to renderFunction if needed)
if (renderButton && isClickable) { return renderButton({ offset: getOffset(page, limit), page, children: button }); }
Lukas
The text was updated successfully, but these errors were encountered: