// Copyright (C) The Arvados Authors. All rights reserved. // // SPDX-License-Identifier: AGPL-3.0 import React from "react"; import { Grid } from "@material-ui/core"; import { formatDate } from "common/formatters"; import { resourceLabel } from "common/labels"; import { DetailsAttribute } from "components/details-attribute/details-attribute"; import { ProcessResource } from "models/process"; import { ResourceKind } from "models/resource"; import { ResourceOwnerWithName } from "views-components/data-explorer/renderers"; type CssRules = 'label' | 'value'; export const ProcessDetailsAttributes = (props: { item: ProcessResource, twoCol?: boolean, classes?: Record }) => { const item = props.item; const classes = props.classes || { label: '', value: '', button: '' }; const mdSize = props.twoCol ? 6 : 12; return } /> ; };