import { Avatar, Box } from "@mui/material"; import { Typography } from "../Atoms/Typography"; import { errorRed, successGreen } from "../../consts/colors"; import { IconThumbDown, IconThumbUp, } from "@intersect.mbo/intersectmbo.org-icons-set"; type OutcomeIndicatorProps = { title: string; passed: boolean; isDisplayed: boolean; isLoading?: boolean; dataTestId?: string; }; export const OutcomeIndicator = ({ title, passed, isDisplayed, isLoading = true, dataTestId, }: OutcomeIndicatorProps) => { return ( {!isDisplayed ? ( "-" ) : passed ? ( ) : ( )} {title} ); };