"use client";
import { Tabs, Tab, Card, CardBody } from "@nextui-org/react";
import { lexend, atkinson } from "../../../../config/fonts";
export default function DescriptionTabs({ data: data }) {
return (
{data.description || "No description found"}
Episodes:{" "}
{data.episodes.length}
Duration:{" "}
{data.duration || "not found"}
Release Year:{" "}
{data.releaseDate}
Other Names:{" "}
{data.otherNames &&
data.otherNames.map((item, index) => (
{item}
{index <
data.otherNames.length - 1 &&
", "}
))}
);
}