mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-10-24 04:14:18 +00:00
feat: add attack surface component
This commit is contained in:
6 files changed
+7
-9
No files matched your search
@@ -14,7 +14,7 @@ export type ActionCardProps = CardProps & {
|
||||
description: string;
|
||||
};
|
||||
|
||||
const ActionCard = React.forwardRef<HTMLDivElement, ActionCardProps>(
|
||||
export const ActionCard = React.forwardRef<HTMLDivElement, ActionCardProps>(
|
||||
({ color, title, icon, description, children, className, ...props }, ref) => {
|
||||
const colors = React.useMemo(() => {
|
||||
switch (color) {
|
||||
@@ -82,5 +82,3 @@ const ActionCard = React.forwardRef<HTMLDivElement, ActionCardProps>(
|
||||
);
|
||||
|
||||
ActionCard.displayName = "ActionCard";
|
||||
|
||||
export default ActionCard;
|
||||
Reference in new issue
Block a user