Closed
Description
Quoting an email I received from JA:
I would like to suggest a new feature: Include a prop or an option to hide the paginator if the results per page were less than the perPage prop. Because I think in this case is a little unuseful.
Expected Behavior
Hide the paginator
if the results per page were less than the perPage
prop.
Actual Behavior
Paginator is always visible.
Steps to Reproduce
const App = () => (
<SmartDataTable
data={data.slice(0,5)}
perPage={10}
/>
)
ReactDOM.render(<App />, document.getElementById('app'))
Screenshot
- None
Your Environment
- None