import type { ReactNode } from "react"; import type { ObjectStoreSettings } from "@qltysh/fabro-api-client"; export type SettingsView = "settings" | "json"; export function Panel({ title, children }: { title: string; children: ReactNode }) { return (

{title}

{children}
); } export function PanelSkeleton() { return (
); } export function Row({ title, help, children, }: { title: string; help?: string; children: ReactNode; }) { return (
{title}
{help ? (
{help}
) : null}
{children}
); } export function ViewToggle({ view, setView, }: { view: SettingsView; setView: (v: SettingsView) => void; }) { const btn = "rounded px-3 py-1.5 text-xs font-medium transition-colors"; return (
); } export function Mono({ children }: { children: ReactNode }) { return (
{children}
); } export function Muted({ children }: { children: ReactNode }) { return {children}; } export function Badge({ children }: { children: ReactNode }) { return ( {children} ); } export function NumberValue({ value }: { value: number }) { return {value}; } export function Dot({ on }: { on: boolean }) { return (