react-headless-pagination
react-headless-pagination copied to clipboard
Format number with K/Ms
I have a large dataset to display but some numbers are overlapping due to their long length.
Can I have a way to format number so that instead of displaying 40000 => 40k and so on?
@thijssmudde any update on this?
Yes, it's possible to add this functionality as a render prop. However, I'm not sure yet if this library should support this behaviour.
Not supporting this feature/behavior would mean that this lib is limited to a certain number of total pages, right?