import React, { useContext } from "react"; import { AppContext } from "context/app"; import OperatingSystems from "pages/DashboardPage/cards/OperatingSystems"; import useInfoCard from "pages/DashboardPage/components/InfoCard"; import PremiumFeatureMessage from "components/PremiumFeatureMessage"; import OsMinVersionForm from "./components/OsMinVersionForm"; import NudgePreview from "./components/NudgePreview"; const baseClass = "mac-os-updates"; interface IMacOSUpdates { teamIdForApi: number; } const MacOSUpdates = ({ teamIdForApi }: IMacOSUpdates) => { const { isPremiumTier } = useContext(AppContext); const OperatingSystemCard = useInfoCard({ title: "macOS versions", children: ( { return null; }} /> ), }); return isPremiumTier ? (

Remotely encourage the installation of macOS updates on hosts assigned to this team.

{OperatingSystemCard}
) : ( ); }; export default MacOSUpdates;