1 // Copyright (C) The Arvados Authors. All rights reserved.
3 // SPDX-License-Identifier: AGPL-3.0
5 import * as React from 'react';
6 import { StyleRulesCallback, WithStyles, withStyles, Card, CardHeader, Typography, CardContent } from '@material-ui/core';
7 import { ArvadosTheme } from '~/common/custom-theme';
8 import { WorkflowIcon } from '~/components/icon/icon';
9 import { DataTableDefaultView } from '~/components/data-table-default-view/data-table-default-view';
11 export type CssRules = 'card';
13 const styles: StyleRulesCallback<CssRules> = (theme: ArvadosTheme) => ({
19 interface WorkflowDescriptionCardDataProps {
22 type WorkflowDescriptionCardProps = WorkflowDescriptionCardDataProps & WithStyles<CssRules>;
24 export const WorkflowDescriptionCard = withStyles(styles)(
25 ({ classes }: WorkflowDescriptionCardProps) => {
26 return <Card className={classes.card}>
28 title={<Typography noWrap variant="body2">
34 messages={['Please select a workflow to see its description.']} />