import { DocumentMagnifyingGlassIcon, PencilSquareIcon, PlayIcon, } from '@heroicons/react/24/outline'; import { Tag } from '@nx/graph/ui-components'; import { ReactNode } from 'react'; export interface TaskNodeTooltipProps { id: string; executor: string; runTaskCallback?: () => void; description?: string; inputs?: Record; openConfigCallback?: () => void; renderMode?: 'nx-console' | 'nx-docs'; children?: ReactNode | ReactNode[]; } export function TaskNodeTooltip({ id, executor, description, renderMode, runTaskCallback, openConfigCallback, children, }: TaskNodeTooltipProps) { return (

{executor} {id}
{openConfigCallback && ( )}
{runTaskCallback && ( )}

{description ?

{description}

: null} {children}
); }