import React from 'react'; import { Flex, Text, Divider } from '@mantine/core'; import { Tooltip } from '../../shared/Tooltip'; export interface ToolWorkflowTitleProps { title: string; tooltip?: { content?: React.ReactNode; tips?: any[]; header?: { title: string; logo?: React.ReactNode; }; }; } export function ToolWorkflowTitle({ title, tooltip }: ToolWorkflowTitleProps) { if (tooltip) { return ( <> e.stopPropagation()}> {title} gpp_maybe ); } return ( <> {title} ); }