@premieroctet/next-admin
Version:
Next-Admin provides a customizable and turnkey admin dashboard for applications built with Next.js and powered by the Prisma ORM. It aims to simplify the development process by providing a turnkey admin system that can be easily integrated into your proje
14 lines • 495 B
TypeScript
import { PropsWithChildren } from "react";
import { Translations } from "../types";
type Props = {
translations: Translations;
};
export type TranslationFn = (key: string, options?: {
[key: string]: any;
}, fallback?: string) => string;
export declare const I18nProvider: ({ translations, children, }: PropsWithChildren<Props>) => import("react/jsx-runtime").JSX.Element;
export declare const useI18n: () => {
t: TranslationFn;
};
export {};
//# sourceMappingURL=I18nContext.d.ts.map