mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
15 lines
346 B
TypeScript
15 lines
346 B
TypeScript
import { FC, ReactNode } from "react";
|
|
|
|
type TPageType = "public" | "onboarding" | "private";
|
|
|
|
type TAuthenticationWrapper = {
|
|
children: ReactNode;
|
|
pageType: TPageType;
|
|
};
|
|
|
|
export const AuthenticationWrapper: FC<TAuthenticationWrapper> = (props) => {
|
|
const { children, pageType } = props;
|
|
|
|
return <div key={pageType}>{children}</div>;
|
|
};
|