import React, { Dispatch, SetStateAction } from "react"; import { Sort } from "@/types/global"; import { dropdownTriggerer } from "@/lib/client/utils"; import { TFunction } from "i18next"; type Props = { sortBy: Sort; setSort: Dispatch>; t: TFunction<"translation", undefined>; }; export default function SortDropdown({ sortBy, setSort, t }: Props) { return (
); }