"use client"; import { PlusCircleIcon, HomeIcon } from "@heroicons/react/24/outline"; import { YearMonth } from "../lib/db-types"; import { formatYearMonth } from "../lib/format"; import Link from "next/link"; import { useTranslations } from 'next-intl'; export interface AddLocationButtonProps { /** year and month at which the new billing location should be addes */ yearMonth: YearMonth; className?: string; } export const AddLocationButton:React.FC = ({yearMonth, className}) => { const t = useTranslations("home-page.add-location-button"); return(
{t("tooltip")}
); }