import React from "react"; import { useSelector } from "react-redux"; import FooterLinks from "./FooterLinks"; import { getTenantConfig } from "@appsmith/selectors/tenantSelectors"; import { getAssetUrl } from "@appsmith/utils/airgapHelpers"; type ContainerProps = { title: string; subtitle?: React.ReactNode; children: React.ReactNode; footer?: React.ReactNode; disabledLoginForm?: boolean; }; function Container(props: ContainerProps) { const { children, footer, subtitle, title } = props; const tenantConfig = useSelector(getTenantConfig); return (

{title}

{subtitle && (

{subtitle}

)}
{children}
{footer}
); } export default Container;