strapi-plugin-comments
Version:
24 lines (23 loc) • 602 B
TypeScript
import { FC, PropsWithChildren } from 'react';
export declare const UserContext: import("react").Context<{
email: string;
id: number;
documentId: string;
createdAt: string;
updatedAt: string;
publishedAt: string;
locale: null;
blocked: boolean;
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>;