mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-03-13 23:51:16 -07:00
24 lines
481 B
TypeScript
24 lines
481 B
TypeScript
/**
|
|
* @license
|
|
* Copyright 2025 Google LLC
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
import { Box, Text } from 'ink';
|
|
import { theme } from '../semantic-colors.js';
|
|
|
|
interface UpdateNotificationProps {
|
|
message: string;
|
|
}
|
|
|
|
export const UpdateNotification = ({ message }: UpdateNotificationProps) => (
|
|
<Box
|
|
borderStyle="round"
|
|
borderColor={theme.status.warning}
|
|
paddingX={1}
|
|
marginY={1}
|
|
>
|
|
<Text color={theme.status.warning}>{message}</Text>
|
|
</Box>
|
|
);
|