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.

27 lines (25 loc) 779 B
import Grid from "@mui/material/Grid"; import * as React from "react"; import { Box, Typography } from "@mui/material"; import ToolCard from "./toolCard"; export default function ToolCardGrid(tools) { return !tools || tools.length === 0 ? ( <Box sx={{ m: 3 }}> <Typography variant="overline">No tools available</Typography> </Box> ) : ( <div align="center"> <Grid container item marginTop={5} justifyContent="center" spacing={3}> {tools.map((tool) => { const name = tool.name; const description = tool.description; return ( <Grid key={name} item> <ToolCard key={name} name={name} description={description} /> </Grid> ); })} </Grid> </div> ); }