/** * @license * Copyright 2026 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import type React from 'react'; import { Text, Box } from 'ink'; import { theme } from '../../semantic-colors.js'; import { SCREEN_READER_USER_PREFIX } from '../../textConstants.js'; import { HalfLinePaddedBox } from '../shared/HalfLinePaddedBox.js'; import { useConfig } from '../../contexts/ConfigContext.js'; interface HintMessageProps { text: string; } export const HintMessage: React.FC = ({ text }) => { const prefix = '💡 '; const prefixWidth = prefix.length; const config = useConfig(); const useBackgroundColor = config.getUseBackgroundColor(); return ( {prefix} {`Steering Hint: ${text}`} ); };