UNPKG

flowviz

Version:

A framework which provides seamless integration with other phylogenetic tools and frameworks, while allowing workflow scheduling and execution, through the Apache Airflow workflow system.

25 lines (23 loc) 756 B
import * as React from "react"; import Card from "@mui/material/Card"; import CardContent from "@mui/material/CardContent"; import Typography from "@mui/material/Typography"; import { CardActionArea } from "@mui/material"; import { useNavigate } from "react-router-dom"; export default function ToolCard({ name, description }) { const navigate = useNavigate(); return ( <Card sx={{ width: 350 }}> <CardActionArea onClick={() => navigate(name)}> <CardContent> <Typography variant="h5" component="div"> {name} </Typography> <Typography sx={{ mb: 1.5 }} color="text.secondary"> {description} </Typography> </CardContent> </CardActionArea> </Card> ); }