mirror of
https://github.com/felipegcoutinho/openmonetis.git
synced 2026-05-09 11:01:45 +00:00
20 lines
324 B
TypeScript
20 lines
324 B
TypeScript
import { cn } from "@/lib/utils";
|
|
|
|
type StatusDotProps = {
|
|
color: string;
|
|
className?: string;
|
|
};
|
|
|
|
export default function StatusDot({ color, className }: StatusDotProps) {
|
|
return (
|
|
<span
|
|
className={cn(
|
|
"inline-block size-2 shrink-0 rounded-full",
|
|
color,
|
|
className,
|
|
)}
|
|
aria-hidden="true"
|
|
/>
|
|
);
|
|
}
|