import { Stack, Box } from '@mui/material'; import { VideoCard, ChannelCard, Loader } from './' const Videos = ({ videos, direction }) => { if (!videos?.length) return return ( {videos.map((item, idx) => ( {item.id.videoId && } {item.id.channelId && } ))} ) } export default Videos;