"use client"; import { Dropdown } from "flowbite-react"; import { numberDeclension } from "#/api/utils"; import { useUserPlayerPreferencesStore } from "#/store/player"; interface Source { id: number; name: string; episodes_count: number; } const DropdownTrigger = ({ name }: Source) => { return (
{name}
{name}
{episodes_count}{" "} {numberDeclension(episodes_count, "серия", "серии", "серий")}