'use client'; import { cn } from '@djangocfg/ui-core/lib'; import { CODE_SAMPLE_TARGETS, type CodeSampleTargetId } from '../../../../utils/codeSamples'; interface LanguageTabsProps { activeId: CodeSampleTargetId; onChange: (id: CodeSampleTargetId) => void; } /** Horizontal tab strip for switching between cURL/JS/Python/… The * strip scrolls horizontally on narrow viewports rather than wrapping * to a second line so the adjacent code block keeps its vertical * rhythm. */ export function LanguageTabs({ activeId, onChange }: LanguageTabsProps) { return (
{CODE_SAMPLE_TARGETS.map((t) => ( ))}
); }