import { CopyButton } from '@duck-docs/components/copy-button' import type { INpmCommands } from '@duck-docs/types/unist' import { cn } from '@gentleduck/libs/cn' import { Separator } from '@gentleduck/registry-ui/separator' import { Tabs, TabsContent, TabsList, TabsTrigger } from '@gentleduck/registry-ui/tabs' import { Terminal } from 'lucide-react' export function ShellCommand({ npm, yarn, pnpm, bun }: INpmCommands) { const commands = { bun, npm, pnpm, yarn, } return (
{Object.keys(commands).map((command) => ( {command} ))}
{Object.entries(commands).map(([commandKey, command]) => (
            {command}
          
))}
) }