8 lines
442 B
TypeScript
Executable file
8 lines
442 B
TypeScript
Executable file
import React, { PropsWithChildren } from "react";
|
|
import { AccountIdentifiers } from "../types/AccountIdentifiers.js";
|
|
export type AuthenticatedTemplateProps = PropsWithChildren<AccountIdentifiers>;
|
|
/**
|
|
* Renders child components if user is authenticated
|
|
* @param props
|
|
*/
|
|
export declare function AuthenticatedTemplate({ username, homeAccountId, localAccountId, children, }: AuthenticatedTemplateProps): React.ReactElement | null;
|