mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-07-24 04:51:51 +00:00
08690068fc
Co-authored-by: Pablo Lara <larabjj@gmail.com>
20 lines
498 B
TypeScript
20 lines
498 B
TypeScript
import { Tooltip } from "@nextui-org/react";
|
|
|
|
import { MutedIcon } from "../icons";
|
|
|
|
interface MutedProps {
|
|
isMuted: boolean;
|
|
}
|
|
|
|
export const Muted = ({ isMuted }: MutedProps) => {
|
|
if (isMuted === false) return null;
|
|
|
|
return (
|
|
<Tooltip content={"This finding is muted"} className="text-xs">
|
|
<div className="w-fit rounded-full border border-system-severity-critical/40 p-1">
|
|
<MutedIcon className="h-4 w-4 text-system-severity-critical" />
|
|
</div>
|
|
</Tooltip>
|
|
);
|
|
};
|