diff --git a/src/frontend/src/components/TooltipComponent/index.tsx b/src/frontend/src/components/TooltipComponent/index.tsx
index a111d047b..65c8d0e5f 100644
--- a/src/frontend/src/components/TooltipComponent/index.tsx
+++ b/src/frontend/src/components/TooltipComponent/index.tsx
@@ -1,6 +1,7 @@
import { ReactElement } from "react";
import { LightTooltip } from "../LightTooltipComponent";
+import { TooltipComponentType } from "../../types/components";
-export default function Tooltip({ children, title }:{children:ReactElement,title:string}) {
- return {children};
+export default function Tooltip({ children, title,placement }:TooltipComponentType) {
+ return {children};
}
diff --git a/src/frontend/src/types/components/index.ts b/src/frontend/src/types/components/index.ts
index 9ba96d8c0..d7448083e 100644
--- a/src/frontend/src/types/components/index.ts
+++ b/src/frontend/src/types/components/index.ts
@@ -65,3 +65,17 @@ export type FloatComponentType = {
disabled?: boolean;
onChange: (value: string) => void;
};
+
+export type TooltipComponentType={children:ReactElement,title:string,placement?:
+ | 'bottom-end'
+ | 'bottom-start'
+ | 'bottom'
+ | 'left-end'
+ | 'left-start'
+ | 'left'
+ | 'right-end'
+ | 'right-start'
+ | 'right'
+ | 'top-end'
+ | 'top-start'
+ | 'top';}
\ No newline at end of file
diff --git a/src/frontend/src/types/tabs/index.ts b/src/frontend/src/types/tabs/index.ts
index 625073fb3..6bb452b31 100644
--- a/src/frontend/src/types/tabs/index.ts
+++ b/src/frontend/src/types/tabs/index.ts
@@ -6,7 +6,7 @@ export type TabsContextType = {
setTabIndex: (index: number) => void;
flows: Array;
removeFlow: (id: string) => void;
- addFlow: (flowData?: any) => void;
+ addFlow: (flowData?: FlowType) => void;
updateFlow: (newFlow: FlowType) => void;
incrementNodeId: () => number;
downloadFlow: (flow:FlowType) => void;