From 39daf5e8cff3b42d9d34ad54412365035e08d69f Mon Sep 17 00:00:00 2001 From: Cristhian Zanforlin Lousa Date: Fri, 7 Jul 2023 18:14:01 -0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20fix(ShadTooltipComponent):=20add?= =?UTF-8?q?=20style=20prop=20to=20ShadTooltip=20component=20to=20allow=20c?= =?UTF-8?q?ustom=20styling=20=F0=9F=94=A7=20fix(types):=20add=20style=20pr?= =?UTF-8?q?operty=20to=20ShadToolTipType=20to=20reflect=20the=20changes=20?= =?UTF-8?q?in=20ShadTooltipComponent?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/frontend/src/components/ShadTooltipComponent/index.tsx | 3 ++- src/frontend/src/types/components/index.ts | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/frontend/src/components/ShadTooltipComponent/index.tsx b/src/frontend/src/components/ShadTooltipComponent/index.tsx index d643a4d08..1a352221e 100644 --- a/src/frontend/src/components/ShadTooltipComponent/index.tsx +++ b/src/frontend/src/components/ShadTooltipComponent/index.tsx @@ -12,13 +12,14 @@ export default function ShadTooltip({ asChild = true, children, delayDuration, + style }: ShadToolTipType) { return ( {children} - + {content} diff --git a/src/frontend/src/types/components/index.ts b/src/frontend/src/types/components/index.ts index 984652b9a..ece87a292 100644 --- a/src/frontend/src/types/components/index.ts +++ b/src/frontend/src/types/components/index.ts @@ -147,6 +147,7 @@ export type ShadToolTipType = { asChild?: boolean; children?: ReactElement; delayDuration?: number; + style?: string; }; export type TextHighlightType = {