"use client" import { useState } from 'react' import { Card, CardContent, CardDescription, CardHeader, CardTitle } from '@/components/ui/card' import { Button } from '@/components/ui/button' import { platforms } from '@/data/mockData' import { Platform } from '@/types' interface PlatformSelectorProps { selectedPlatform: Platform | null onPlatformSelect: (platform: Platform) => void } export function PlatformSelector({ selectedPlatform, onPlatformSelect }: PlatformSelectorProps) { return ( Select Your Platform Choose your operating system and package manager to browse available packages
{platforms.map((platform) => ( ))}
{selectedPlatform && (

Selected: {selectedPlatform.name} ({selectedPlatform.packageManager})

)}
) }