import { IconAlertCircle, IconDeviceFloppy, IconRefresh, } from "@tabler/icons-react" import { cn } from "@/lib/utils" interface ConfigChangeNoticeProps { kind: "save" | "restart" title: string description?: string className?: string } export function ConfigChangeNotice({ kind, title, description, className, }: ConfigChangeNoticeProps) { const Icon = kind === "restart" ? IconRefresh : kind === "save" ? IconDeviceFloppy : IconAlertCircle return (
{title}
{description && ({description}
)}