langflow/src/frontend/src/components/TooltipComponent/index.tsx
2023-04-18 15:11:35 -03:00

7 lines
340 B
TypeScript

import { ReactElement } from "react";
import { LightTooltip } from "../LightTooltipComponent";
import { TooltipComponentType } from "../../types/components";
export default function Tooltip({ children, title,placement }:TooltipComponentType) {
return <LightTooltip placement={placement} title={title} arrow>{children}</LightTooltip>;
}