Skip to content

Commit

Permalink
Add optional pagerPosition prop to device table (#47046)
Browse files Browse the repository at this point in the history
This adds an optional prop that is required for the new empty state
tables (coming in an `e` PR)
  • Loading branch information
avatus authored Oct 1, 2024
1 parent 0ed61a4 commit 7795cd5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions web/packages/teleport/src/DeviceTrust/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

import { PagerPosition } from 'design/DataTable/types';

export type TrustedDevice = {
id: string;
assetTag: string;
Expand All @@ -33,6 +35,7 @@ export type TrustedDeviceResponse = {
export type DeviceListProps = {
items: TrustedDeviceResponse['items'];
pageSize?: number;
pagerPosition?: PagerPosition;
fetchStatus?: 'loading' | 'disabled' | '';
fetchData?: () => void;
};
Expand Down

0 comments on commit 7795cd5

Please sign in to comment.