mirror of
https://github.com/felipegcoutinho/openmonetis.git
synced 2026-05-09 11:01:45 +00:00
17 lines
364 B
TypeScript
17 lines
364 B
TypeScript
"use client";
|
|
|
|
import StatusDot from "@/components/shared/status-dot";
|
|
|
|
export function StatusSelectContent({ label }: { label: string }) {
|
|
const isActive = label === "Ativo";
|
|
|
|
return (
|
|
<span className="flex items-center gap-2">
|
|
<StatusDot
|
|
color={isActive ? "bg-success" : "bg-slate-400 dark:bg-slate-500"}
|
|
/>
|
|
<span>{label}</span>
|
|
</span>
|
|
);
|
|
}
|