forked from github/plane
651b252c23
* chore: svg icons added in plane/ui package * chore: swap priority and state icon with plane/ui icons * chore: replace core folder icons with lucide and plane ui icons * style: priority icon size * chore: replace icons with lucide and plane/ui icons * chore: replace cycle folder icons with lucide and plane/ui icons * chore: replace existing icons with lucide and plane/ui icons * chore: replace existing icons with lucide and plane/ui icons * chore: replace existing icons with lucide and plane/ui icons * chore: replace existing icons with lucide and plane/ui icons * chore: replace existing icons with lucide and plane/ui icons * fix: build error * fix: build error * fix: build error
19 lines
670 B
TypeScript
19 lines
670 B
TypeScript
import { AlertCircle } from "lucide-react";
|
|
|
|
type Props = {
|
|
bannerName: string;
|
|
description?: string;
|
|
};
|
|
|
|
export const IntegrationAndImportExportBanner: React.FC<Props> = ({ bannerName, description }) => (
|
|
<div className="flex items-start gap-3 py-3.5 border-b border-custom-border-200">
|
|
<h3 className="text-xl font-medium">{bannerName}</h3>
|
|
{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">
|
|
<AlertCircle className="h-6 w-6 text-custom-text-100" />
|
|
<p className="leading-5">{description}</p>
|
|
</div>
|
|
)}
|
|
</div>
|
|
);
|