feat: add attack surface component

This commit is contained in:
Pablo Lara committed 2024-08-19 16:43:45 +02:00
1 parent 109a477f9e
commit a864c76955
6 files changed
+7 -9

No files matched your search

+1 -3
View File
@@ -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;