mirror of
https://github.com/fleetdm/fleet
synced 2026-04-21 21:47:20 +00:00
22 lines
504 B
TypeScript
22 lines
504 B
TypeScript
|
|
import React from "react";
|
||
|
|
|
||
|
|
// @ts-ignore
|
||
|
|
import fleetLogoText from "../../../assets/images/fleet-logo-text-white.svg";
|
||
|
|
|
||
|
|
interface IAuthenticationFormWrapperProps {
|
||
|
|
children: React.ReactNode;
|
||
|
|
}
|
||
|
|
|
||
|
|
const baseClass = "auth-form-wrapper";
|
||
|
|
|
||
|
|
const AuthenticationFormWrapper = ({
|
||
|
|
children,
|
||
|
|
}: IAuthenticationFormWrapperProps) => (
|
||
|
|
<div className={baseClass}>
|
||
|
|
<img alt="Fleet" src={fleetLogoText} className={`${baseClass}__logo`} />
|
||
|
|
{children}
|
||
|
|
</div>
|
||
|
|
);
|
||
|
|
|
||
|
|
export default AuthenticationFormWrapper;
|