import type { ReactNode } from 'react'; import { cn } from '@/lib/utils'; /** * Chip-row action group used on detail-page headers. On mobile (`< sm`), the * row scrolls horizontally with snap-x, no overflow clipping. On desktop, it * wraps freely. */ export function ActionRow({ children, className }: { children: ReactNode; className?: string }) { return (
*]:snap-start [&>*]:shrink-0 sm:[&>*]:snap-none', className, )} > {children}
); }