2023-10-16 14:57:22 +00:00
|
|
|
import { AlertCircle } from "lucide-react";
|
2023-05-18 13:37:01 +00:00
|
|
|
|
|
|
|
type Props = {
|
|
|
|
bannerName: string;
|
2023-08-14 06:14:17 +00:00
|
|
|
description?: string;
|
2023-05-18 13:37:01 +00:00
|
|
|
};
|
|
|
|
|
2023-08-14 06:14:17 +00:00
|
|
|
export const IntegrationAndImportExportBanner: React.FC<Props> = ({ bannerName, description }) => (
|
2023-12-10 10:18:10 +00:00
|
|
|
<div className="flex items-start gap-3 border-b border-custom-border-100 py-3.5">
|
2023-09-13 17:39:55 +00:00
|
|
|
<h3 className="text-xl font-medium">{bannerName}</h3>
|
2023-08-14 06:14:17 +00:00
|
|
|
{description && (
|
|
|
|
<div className="flex items-center gap-3 rounded-[10px] border border-custom-primary/75 bg-custom-primary/5 p-4 text-sm text-custom-text-100">
|
2023-10-16 14:57:22 +00:00
|
|
|
<AlertCircle className="h-6 w-6 text-custom-text-100" />
|
2023-08-14 06:14:17 +00:00
|
|
|
<p className="leading-5">{description}</p>
|
|
|
|
</div>
|
|
|
|
)}
|
2023-05-18 13:37:01 +00:00
|
|
|
</div>
|
|
|
|
);
|