diff --git a/docs/src/pages/demos/tables/CustomPaginationActionsTable.js b/docs/src/pages/demos/tables/CustomPaginationActionsTable.js index c7335134f49f65..43489626e1bfd4 100644 --- a/docs/src/pages/demos/tables/CustomPaginationActionsTable.js +++ b/docs/src/pages/demos/tables/CustomPaginationActionsTable.js @@ -171,6 +171,7 @@ class CustomPaginationActionsTable extends React.Component { ({ /* Styles applied to the root element. */ @@ -237,7 +237,7 @@ TablePagination.defaultProps = { component: TableCell, labelDisplayedRows: ({ from, to, count }) => `${from}-${to} of ${count}`, labelRowsPerPage: 'Rows per page:', - rowsPerPageOptions: [5, 10, 25], + rowsPerPageOptions: [10, 25, 50, 100], }; export default withStyles(styles, { name: 'MuiTablePagination' })(TablePagination); diff --git a/packages/material-ui/src/TablePaginationActions/TablePaginationActions.d.ts b/packages/material-ui/src/TablePagination/TablePaginationActions.d.ts similarity index 100% rename from packages/material-ui/src/TablePaginationActions/TablePaginationActions.d.ts rename to packages/material-ui/src/TablePagination/TablePaginationActions.d.ts diff --git a/packages/material-ui/src/TablePaginationActions/TablePaginationActions.js b/packages/material-ui/src/TablePagination/TablePaginationActions.js similarity index 100% rename from packages/material-ui/src/TablePaginationActions/TablePaginationActions.js rename to packages/material-ui/src/TablePagination/TablePaginationActions.js diff --git a/packages/material-ui/src/TablePaginationActions/index.d.ts b/packages/material-ui/src/TablePaginationActions/index.d.ts deleted file mode 100644 index e52a75d92e040d..00000000000000 --- a/packages/material-ui/src/TablePaginationActions/index.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export { default } from './TablePaginationActions'; -export * from './TablePaginationActions'; diff --git a/packages/material-ui/src/TablePaginationActions/index.js b/packages/material-ui/src/TablePaginationActions/index.js deleted file mode 100644 index 83a3748b6e54ce..00000000000000 --- a/packages/material-ui/src/TablePaginationActions/index.js +++ /dev/null @@ -1 +0,0 @@ -export { default } from './TablePaginationActions'; diff --git a/pages/api/table-pagination.md b/pages/api/table-pagination.md index 5acde75b0c400f..5292667d40e50d 100644 --- a/pages/api/table-pagination.md +++ b/pages/api/table-pagination.md @@ -31,7 +31,7 @@ A `TableCell` based component for placing inside `TableFooter` for pagination. | onChangeRowsPerPage | func |   | Callback fired when the number of rows per page is changed.

**Signature:**
`function(event: object) => void`
*event:* The event source of the callback | | page * | number |   | The zero-based index of the current page. | | rowsPerPage * | number |   | The number of rows per page. | -| rowsPerPageOptions | array | [5, 10, 25] | Customizes the options of the rows per page select field. If less than two options are available, no select field will be displayed. | +| rowsPerPageOptions | array | [10, 25, 50, 100] | Customizes the options of the rows per page select field. If less than two options are available, no select field will be displayed. | | SelectProps | object |   | Properties applied to the rows per page [`Select`](/api/select/) element. | Any other properties supplied will be spread to the root element ([TableCell](/api/table-cell/)).