fleet/frontend/components/MDM/AppleBMTermsMessage/AppleBMTermsMessage.tsx

30 lines
837 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import React from "react";
import InfoBanner from "components/InfoBanner";
import CustomLink from "components/CustomLink";
const baseClass = "apple-bm-terms-message";
const AppleBMTermsMessage = () => {
return (
<InfoBanner
className={baseClass}
color="yellow"
cta={
<CustomLink
url="https://business.apple.com/" // TODO: maybe point to new /settings/integrations/mdm/abm
text="Go to ABM"
className={`${baseClass}__new-tab`}
newTab
variant="banner-link"
/>
}
>
You cant automatically enroll macOS, iOS, and iPadOS hosts until you
accept the new terms and conditions for your Apple Business Manager (ABM).
An ABM administrator can accept these terms.
</InfoBanner>
);
};
export default AppleBMTermsMessage;