From 4cf7a3244f6b4de32dec6cffb8a85a46f2104764 Mon Sep 17 00:00:00 2001 From: Pablo Lara Date: Thu, 10 Oct 2024 15:43:41 +0200 Subject: [PATCH] chore: replace icon for check connection component --- components/icons/Icons.tsx | 83 ++++++++++++++++++++++++++ components/providers/provider-info.tsx | 14 ++--- 2 files changed, 90 insertions(+), 7 deletions(-) diff --git a/components/icons/Icons.tsx b/components/icons/Icons.tsx index 2b9d9d533c..6d886cf788 100644 --- a/components/icons/Icons.tsx +++ b/components/icons/Icons.tsx @@ -575,6 +575,89 @@ export const ConnectionIcon: React.FC = ({ ); }; +export const ConnectionTrue: React.FC = ({ + size = 24, + width, + height, + ...props +}) => ( + + + +); + +export const ConnectionFalse: React.FC = ({ + size = 24, + width, + height, + ...props +}) => ( + + + +); + +export const ConnectionPending: React.FC = ({ + size = 24, + width, + height, + ...props +}) => ( + + + + + + + + +); + export const SuccessIcon: React.FC = ({ size = 24, width, diff --git a/components/providers/provider-info.tsx b/components/providers/provider-info.tsx index 47fb6c293c..9d6a11c371 100644 --- a/components/providers/provider-info.tsx +++ b/components/providers/provider-info.tsx @@ -1,6 +1,6 @@ import React from "react"; -import { ConnectionIcon } from "../icons"; +import { ConnectionFalse, ConnectionPending, ConnectionTrue } from "../icons"; import { AWSProviderBadge, AzureProviderBadge, @@ -23,24 +23,24 @@ export const ProviderInfo: React.FC = ({ switch (connected) { case true: return ( -
- +
+
); case false: return ( -
- +
+
); case null: return (
- +
); default: - return ; + return ; } };