import * as React from "react" import Style from "./ResearchGroupPanel.module.css" import {Panel} from "@steffo/bluelib-react"; import {FontAwesomeIcon} from "@fortawesome/react-fontawesome"; import {faEnvelope, faGlobe, faQuestion} from "@fortawesome/free-solid-svg-icons"; import {ResearchGroup} from "../types"; import {UserLink} from "./UserLink"; import {Link} from "./Link"; export function ResearchGroupPanel({owner, name, access, slug}: ResearchGroup): JSX.Element { let accessIcon: JSX.Element if(access === "OPEN") { accessIcon = } else if(access === "MANUAL") { accessIcon = } else { accessIcon = } return (
{accessIcon}
{name}
Created by
) }