pagination icon indicating copy to clipboard operation
pagination copied to clipboard

Exposes buildOptionText property of Options component to Pagination c…

Open mdsturtevant opened this issue 6 years ago • 2 comments

Exposes buildOptionText property of Options component to Pagination component.

pageSizeBuildOptionText allows the user to define a method to overwrite the default buildOptionText method inside the Option component, allowing for custom text. The motivation for this is to put the data length as the last option in pageSizeOptions and then use this custom method to covert the display text to say "All".

mdsturtevant avatar Aug 30 '19 15:08 mdsturtevant

This pull request is automatically deployed with Now. To access deployments, click Details below or on the icon next to each push.

Latest deployment for this branch: https://rc-pagination-git-fork-mdsturtevant-master.react-component.now.sh

vercel[bot] avatar Aug 30 '19 15:08 vercel[bot]

Coverage Status

Coverage remained the same at 89.496% when pulling d638eac1de7bfc7b26ccfb102c8a0214e053fc78 on mdsturtevant:master into f33c0f16cb9d667c3904d688eb7f9fe280f545ed on react-component:master.

coveralls avatar Aug 30 '19 15:08 coveralls