"use client"; import { motion } from "framer-motion"; interface Room { id: string; emoji: string; name: string; deviceCount: number; color: string; } const ROOMS: Room[] = [ { id: "living", emoji: "🛋️", name: "Гостиная", deviceCount: 3, color: "#6366f1" }, { id: "bedroom", emoji: "🛏️", name: "Спальня", deviceCount: 2, color: "#8b5cf6" }, { id: "kitchen", emoji: "🍳", name: "Кухня", deviceCount: 1, color: "#f59e0b" }, { id: "bathroom", emoji: "🚿", name: "Ванная", deviceCount: 0, color: "#06b6d4" }, ]; interface Props { onRoomClick?: (roomId: string) => void; } export default function RoomsRow({ onRoomClick }: Props) { return (