mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 08:58:41 +00:00
27 lines
625 B
TypeScript
27 lines
625 B
TypeScript
import React from "react";
|
|
|
|
import InfoBanner from "components/InfoBanner";
|
|
import CustomLink from "components/CustomLink";
|
|
|
|
const baseClass = "license-expiry-banner";
|
|
|
|
const LicenseExpirationBanner = (): JSX.Element => {
|
|
return (
|
|
<InfoBanner
|
|
className={baseClass}
|
|
color="yellow"
|
|
cta={
|
|
<CustomLink
|
|
url="https://fleetdm.com/learn-more-about/downgrading"
|
|
text="Downgrade or renew"
|
|
newTab
|
|
variant="banner-link"
|
|
/>
|
|
}
|
|
>
|
|
Your Fleet Premium license is about to expire.
|
|
</InfoBanner>
|
|
);
|
|
};
|
|
|
|
export default LicenseExpirationBanner;
|