-
- {showPageSizeOptions && (
-
-
- {`${fromCount} - ${toCount} of ${rowCount}`}
- {
- table?.previousPage();
- onPreviousPage?.();
- }}
- isDisabled={!table?.getCanPreviousPage()}
- icon={}
- aria-label="Previous"
- />
- {
- table?.nextPage();
- onNextPage?.();
- }}
- isDisabled={!table?.getCanNextPage()}
- icon={}
- aria-label="Next"
- />
-
-
- );
-}
diff --git a/packages/ui/src/components/Table/TablePagination/index.ts b/packages/ui/src/components/Table/TablePagination/index.ts
deleted file mode 100644
index 9fb26ad728..0000000000
--- a/packages/ui/src/components/Table/TablePagination/index.ts
+++ /dev/null
@@ -1,18 +0,0 @@
-/*
- * Copyright 2025 The Backstage Authors
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-export { TablePagination } from './TablePagination';
-export type { TablePaginationProps } from './types';
diff --git a/packages/ui/src/components/Table/TablePagination/types.ts b/packages/ui/src/components/Table/TablePagination/types.ts
deleted file mode 100644
index ca2b57fd7a..0000000000
--- a/packages/ui/src/components/Table/TablePagination/types.ts
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * Copyright 2025 The Backstage Authors
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import { Table } from '@tanstack/react-table';
-
-/** @public */
-export interface TablePaginationProps