import {OverlayTrigger} from "react-bootstrap"; import React from "react"; import {MaxLevel} from "./warnings"; export function CardWarnings({warnings, prefix}) { const max_level = MaxLevel(warnings); return ( (
{warnings.map((warning, _i) => { return (

{warning.message}

) })}
) } rootClose >
) } export function WarningIndicator({warnings}) { const max_level = MaxLevel(warnings); return ( ) }