strapi-plugin-comments
Version:
24 lines (23 loc) • 630 B
TypeScript
import { FC, PropsWithChildren } from 'react';
export declare const UserContext: import("react").Context<{
email: string;
id: number;
documentId: string;
createdAt: string | null;
updatedAt: string | null;
publishedAt: string | null;
locale: null;
blocked: boolean | null;
firstname: string;
lastname: string | null;
username: string | null;
isActive: boolean;
preferedLanguage: string | null;
roles: {
code: string;
id: number;
name: string;
description: string;
}[];
} | null>;
export declare const UserProvider: FC<PropsWithChildren>;