"use client"; import { Card, Carousel, CustomFlowbiteTheme } from "flowbite-react"; import { ReleaseLink } from "#/components/ReleaseLink/ReleaseLinkUpdate"; import Link from "next/link"; const CarouselTheme: CustomFlowbiteTheme["carousel"] = { root: { base: "relative h-full w-full max-w-[300px]", }, }; export const ReleaseInfoRelated = (props: { release_id: number; related: any; related_releases: any; }) => { return (

Связанные релизы

{props.related && (

Показать все

)}
{props.related_releases .filter((release: any) => { if (release.id == props.release_id) { return false; } return true; }) .map((release: any) => { return ( ); })}
); };