import { useTranslation } from "react-i18next" import { Button } from "@/components/ui/button" import { Tooltip, TooltipContent, TooltipTrigger } from "@/components/ui/tooltip" import { cn } from "@/lib/utils" import { WATCH_MEDIUMS } from "@/lib/watch-mediums" type WatchMediumPickerProps = { value?: string onChange: (value: string | undefined) => void } export function WatchMediumPicker({ value, onChange }: WatchMediumPickerProps) { const { t } = useTranslation() return (

{t("watchMedium.label")}

{WATCH_MEDIUMS.map(({ value: val, icon: Icon, labelKey }) => { const selected = value === val return ( {t(labelKey)} ) })}
) }