fleet/frontend/components/MDM/AndroidEnterpriseDeletedMessage/AndroidEnterpriseDeletedMessage.tsx
Gabriel Hernandez 20eb780ffd
add anroid enterprise deleted banner (#26685)
For #26207

added banner that shows when android enterprise has been deleted.

> TODO: this is only the frontend and will not work until BE work is
done. It will not show in the UI currently


![image](https://github.com/user-attachments/assets/842fd4d2-43fe-4b06-95ff-f2c7a43a8b9f)
2025-03-10 13:16:43 +00:00

29 lines
739 B
TypeScript

import React from "react";
import CustomLink from "components/CustomLink";
import InfoBanner from "components/InfoBanner";
const baseClass = "android-enterprise-deleted-message";
const AndroidEnterpriseDeletedMessage = () => {
return (
<InfoBanner
className={baseClass}
color="yellow"
cta={
<CustomLink
url="https://business.apple.com/" // TODO: get this link
text="Learn more"
className={baseClass}
newTab
variant="banner-link"
/>
}
>
Android MDM is off because Android Enterprise was deleted in Google
Workspace. Please turn on Android MDM again.
</InfoBanner>
);
};
export default AndroidEnterpriseDeletedMessage;