cognee/cognee-frontend/src/ui/elements/StatusDot.tsx
2025-09-25 17:43:34 +01:00

13 lines
310 B
TypeScript

import React from "react";
const StatusDot = ({ isActive, className }: { isActive: boolean, className?: string }) => {
return (
<span
className={`inline-block w-3 h-3 rounded-full ${className} ${
isActive ? "bg-green-500" : "bg-red-500"
}`}
/>
);
};
export default StatusDot;