"use client"; import { useState } from "react"; import { Building2, User } from "lucide-react"; import { Label } from "@/components/ui/label"; import { cn } from "@/lib/utils"; type Scope = "company" | "personal"; export function ScopeToggle({ name = "scope", defaultValue = "company", label = "Kapsam", description, }: { name?: string; defaultValue?: Scope; label?: string; description?: string; }) { const [value, setValue] = useState(defaultValue); return (
{description &&

{description}

}
); } export function ScopeBadge({ scope }: { scope?: Scope }) { if (scope === "personal") { return ( Bireysel ); } return null; // Company is default — no badge needed }