import { StyledTooltip } from "#/components/shared/buttons/styled-tooltip"; interface GitControlBarTooltipWrapperProps { tooltipMessage: string; testId: string; children: React.ReactNode; shouldShowTooltip: boolean; } export function GitControlBarTooltipWrapper({ children, tooltipMessage, testId, shouldShowTooltip, }: GitControlBarTooltipWrapperProps) { if (!shouldShowTooltip) { return children; } return ( {children} ); }