Need: To be able to hide the pagination whenever it is not needed
Default value: true, so it doesn't conflict with the previous use cases.
Whenever set to false:
If there is only one page, the pagination will be hidden, but the pagination options will still be visible. For example, if there are 7 results and the options are [5,10], the pagination will be hidden when 10 is selected and reappear when 5 is selected.
If the number of results are smaller than minimum option value, pagination options will also be hidden.
New prop:
paginationAlwaysVisible
Need: To be able to hide the pagination whenever it is not needed
Default value:
true
, so it doesn't conflict with the previous use cases.Whenever set to
false
: