'use client'; import React from 'react'; import type { Locale } from '@/lib/locale'; import ChannelCard from '@/components/ChannelCard'; import type { ChannelInfo } from '@/components/ChannelCard'; interface ChannelGridProps { channels: ChannelInfo[]; onTopUp: () => void; isDark: boolean; locale: Locale; userBalance?: number; } export type { ChannelInfo }; export default function ChannelGrid({ channels, onTopUp, isDark, locale, userBalance }: ChannelGridProps) { return (