@intl-t/next
Version:
A Fully-Typed Object-Based i18n Translation Library for Next.js
8 lines (7 loc) • 410 B
TypeScript
import type { Locale } from "@intl-t/locales";
import NL from "next/link";
import type { ComponentProps } from "react";
import { LinkProps } from "./link";
type NL = typeof NL;
export declare function LC<L extends Locale, L_ extends string, LC extends NL>({ href, locale, currentLocale, config, Link, ...props }: LinkProps<L | L_, LC> & ComponentProps<LC>): import("react/jsx-runtime").JSX.Element;
export {};