1 // Copyright (C) The Arvados Authors. All rights reserved.
3 // SPDX-License-Identifier: AGPL-3.0
5 import * as React from 'react';
6 import { DetailsResource } from "~/models/details";
8 export abstract class DetailsData<T extends DetailsResource = DetailsResource> {
9 constructor(protected item: T) { }
12 return this.item.name || 'Projects';
15 getTabLabels(): string[] {
19 abstract getIcon(className?: string): React.ReactElement<any>;
20 abstract getDetails(tabNr?: number): React.ReactElement<any>;