/** * @license * Copyright 2025 Qwen Team * SPDX-License-Identifier: Apache-2.0 */ import type React from 'react'; import { WarningTriangleIcon, CloseIcon } from './icons/index.js'; interface NotLoggedInMessageProps { /** * The message to display */ message: string; /** * Callback when the login button is clicked */ onLoginClick: () => void; /** * Callback when the message is dismissed (optional) */ onDismiss?: () => void; } export const NotLoggedInMessage: React.FC = ({ message, onLoginClick, onDismiss, }) => (
{/* Warning Icon */} {/* Content */}

{message}

{/* Login Button */}
{/* Optional Close Button */} {onDismiss && ( )}
);