Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
23 lines
1.0 KiB
Plaintext
23 lines
1.0 KiB
Plaintext
import type { I18nClient, I18nOptions, Language } from '@payloadcms/translations';
|
|
import type { ClientConfig, LanguageOptions, Locale, SanitizedPermissions, ServerFunctionClient, TypedUser } from 'payload';
|
|
import React from 'react';
|
|
import type { Theme } from '../Theme/index.js';
|
|
type Props = {
|
|
readonly children: React.ReactNode;
|
|
readonly config: ClientConfig;
|
|
readonly dateFNSKey: Language['dateFNSKey'];
|
|
readonly fallbackLang: I18nOptions['fallbackLanguage'];
|
|
readonly isNavOpen?: boolean;
|
|
readonly languageCode: string;
|
|
readonly languageOptions: LanguageOptions;
|
|
readonly locale?: Locale['code'];
|
|
readonly permissions: SanitizedPermissions;
|
|
readonly serverFunction: ServerFunctionClient;
|
|
readonly switchLanguageServerAction?: (lang: string) => Promise<void>;
|
|
readonly theme: Theme;
|
|
readonly translations: I18nClient['translations'];
|
|
readonly user: null | TypedUser;
|
|
};
|
|
export declare const RootProvider: React.FC<Props>;
|
|
export {};
|
|
//# sourceMappingURL=index.d.ts.map |