mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-07-22 20:11:53 +00:00
rename: rename ServiceCard component
This commit is contained in:
@@ -6,7 +6,7 @@ interface CardServiceProps {
|
||||
fidingsFailed: number;
|
||||
serviceAlias: string;
|
||||
}
|
||||
export const CardService: React.FC<CardServiceProps> = ({
|
||||
export const ServiceCard: React.FC<CardServiceProps> = ({
|
||||
fidingsFailed,
|
||||
serviceAlias,
|
||||
}) => {
|
||||
@@ -16,7 +16,9 @@ export const CardService: React.FC<CardServiceProps> = ({
|
||||
<div className="flex space-x-4 items-center">
|
||||
{getAWSIcon(serviceAlias)}
|
||||
<div className="flex flex-col">
|
||||
<h4 className="font-bold text-large">{serviceAlias}</h4>
|
||||
<h4 className="font-bold text-md 3xl:text-lg leading-5">
|
||||
{serviceAlias}
|
||||
</h4>
|
||||
<small className="text-default-500">
|
||||
{fidingsFailed > 0
|
||||
? `${fidingsFailed} Failed Findings`
|
||||
@@ -1 +1 @@
|
||||
export * from "./CardService";
|
||||
export * from "./ServiceCard";
|
||||
|
||||
Reference in New Issue
Block a user