"use client";
import { ArrowDown, ArrowUp } from "lucide-react";
import type { ReactNode } from "react";
import { Button } from "@/components/ui/button";
import {
Card,
CardContent,
CardDescription,
CardHeader,
CardTitle,
} from "@/components/ui/card";
import { cn } from "@/lib/utils";
import type { SettingStatusTone } from "../_lib/types";
import { SettingStatusBadge } from "./setting-status-badge";
export function LocalAiGroupHeading({
eyebrow,
title,
description,
}: {
eyebrow: string;
title: string;
description: string;
}) {
return (
);
}
export function LocalAiSectionSummary({
items,
}: {
items: Array<{
label: string;
tone?: SettingStatusTone;
}>;
}) {
return (
{items.map((item) => (
{item.label}
))}
);
}
export function LocalAiSectionToggleButton({
expanded,
onClick,
}: {
expanded: boolean;
onClick: () => void;
}) {
return (
);
}
export function LocalAiSectionShell({
id,
title,
description,
summary,
expanded,
onToggle,
children,
}: {
id: string;
title: ReactNode;
description: ReactNode;
summary?: ReactNode;
expanded: boolean;
onToggle: () => void;
children: ReactNode;
}) {
return (
{title}
{description}
{summary}
{children}
);
}