All Downloads are FREE. Search and download functionalities are using the official Maven repository.

components.process.ProcessCard.tsx Maven / Gradle / Ivy

import TileInfoButton from 'components/process/TileInfoButton';
import { StartProcessFunction, TranslatedProcessDefinition } from 'hooks/process';

import { Box, Card, CardActionArea, CardContent, Typography } from '@mui/material';

export const ProcessCard = ({ process, onStartProcess }: { process: TranslatedProcessDefinition, onStartProcess: StartProcessFunction }) => {

  const handleStartProcess = (e: any) => {
    onStartProcess(e, process, "PROCESS_OPEN");
  };

  return (
    
      
        
          
            {process.title}
          

          {process.description && process.description.toLowerCase() !== "null"
            ?   
            : null}
        
      
    
  );
};

export default ProcessCard;




© 2015 - 2024 Weber Informatics LLC | Privacy Policy