import type { ReactNode } from 'react' import { PageLoader } from '@/components/page-loader' import { Button } from '@/components/ui/button' import type { LucideIcon } from '@/lib/icons' import { cn } from '@/lib/utils' export function SettingsContent({ children }: { children: ReactNode }) { return (
{children}
) } export function Pill({ tone = 'muted', children }: { tone?: 'muted' | 'primary'; children: ReactNode }) { return ( {children} ) } export function SectionHeading({ icon: Icon, title, meta }: { icon: LucideIcon; title: string; meta?: string }) { return (
{title} {meta && {meta}}
) } export function NavLink({ icon: Icon, label, active, onClick }: { icon: LucideIcon label: string active: boolean onClick: () => void }) { return ( ) } export function ListRow({ title, description, hint, action, below, wide = false }: { title: ReactNode description?: ReactNode hint?: ReactNode action?: ReactNode below?: ReactNode wide?: boolean }) { return (
{title}
{description &&
{description}
} {hint &&
{hint}
} {below}
{action &&
{action}
}
) } export function LoadingState({ label }: { label: string }) { return } export function EmptyState({ title, description }: { title: string; description: string }) { return (
{title}
{description}
) }