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.

32 lines (26 loc) 634 B
import * as React from "react"; import Typography from "@mui/material/Typography"; import { Divider } from "@mui/material"; import { Box } from "@mui/system"; export default function Api(props) { const api = props.api; const noApi = ( <Typography variant="body1" marginTop={5} align="left"> No available API. </Typography> ); //TODO const availableApi = <></>; return ( <> <Typography variant="h4" marginTop={5} align="left"> API </Typography> <Divider /> {!api ? noApi : availableApi} </> ); } function isEmpty(array) { return !array || array.length == 0; }