import React from 'react' import Card from '@mui/material/Card' import { CardContent, CardMedia, Grid } from '@mui/material' import Typography from '@mui/material/Typography' import styles from './GridComp.module.css' // const Rand = (min, max) => Math.floor(Math.random() * (max - min + 1) + min) export default function GridComp({ name, data }) { return (
{name} {(data || []).map((item) => (
{/* */}
{item.Ru_title} {item.Orig_title} {(item.Genres || []).map((e) => ( {e.genre} ))}
))}
) }