/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import React from 'react'; import { Text, Box } from 'ink'; import { Colors } from '../../colors.js'; import { RenderInline } from '../../utils/InlineMarkdownRenderer.js'; interface InfoMessageProps { text: string; } export const InfoMessage: React.FC = ({ text }) => { // Don't render anything if text is empty if (!text || text.trim() === '') { return null; } const prefix = 'ℹ '; const prefixWidth = prefix.length; return ( {prefix} ); };