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
So my pageCount sometimes gets too big (in the thousands), and I want to add digit separators like so 1565 => 1,656.
but passing "1,656" as a string is not allowed and if I use normal js numbers with separators 1,555 it just assumes I am trying to pass in two props, 1 and 555.
Is there any workarounds for this?
I want to achieve something like the image below. I customized the container with css, but I can't do the number formatting with CSS, and with JS it just turns it to string which the inner element doesn't accept.
The text was updated successfully, but these errors were encountered:
dasanik2001
added a commit
to dasanik2001/react-paginate
that referenced
this issue
Jun 5, 2023
So my pageCount sometimes gets too big (in the thousands), and I want to add digit separators like so 1565 => 1,656.
but passing
"1,656"
as a string is not allowed and if I use normal js numbers with separators1,555
it just assumes I am trying to pass in two props,1
and555
.Is there any workarounds for this?
I want to achieve something like the image below. I customized the container with css, but I can't do the number formatting with CSS, and with JS it just turns it to string which the inner element doesn't accept.
The text was updated successfully, but these errors were encountered: