22141: Picker details display WIP
[arvados.git] / services / workbench2 / src / views-components / details-panel / process-details.tsx
1 // Copyright (C) The Arvados Authors. All rights reserved.
2 //
3 // SPDX-License-Identifier: AGPL-3.0
4
5 import React from 'react';
6 import { ProcessIcon } from 'components/icon/icon';
7 import { ProcessResource } from 'models/process';
8 import { DetailsData } from "./details-data";
9 import { ProcessDetailsAttributes } from 'views/process-panel/process-details-attributes';
10
11 export class ProcessDetails extends DetailsData<ProcessResource> {
12
13     getIcon(className?: string) {
14         return <ProcessIcon className={className} />;
15     }
16
17     getDetails() {
18         return <ProcessDetailsAttributes request={this.item} />;
19     }
20 }