Files
gemini-cli/packages/cli/src/ui/components/Footer.tsx
T

25 lines
566 B
TypeScript
Raw Normal View History

/**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
2025-04-15 21:41:08 -07:00
import React from 'react';
import { Box, Text } from 'ink';
2025-04-19 12:38:09 -04:00
import { Colors } from '../colors.js';
2025-04-15 21:41:08 -07:00
interface FooterProps {
2025-04-17 18:06:21 -04:00
queryLength: number;
2025-04-15 21:41:08 -07:00
}
2025-04-18 19:09:41 -04:00
export const Footer: React.FC<FooterProps> = ({ queryLength }) => (
2025-04-18 18:08:43 -04:00
<Box marginTop={1} justifyContent="space-between">
<Box minWidth={15}>
2025-04-19 12:38:09 -04:00
<Text color={Colors.SubtleComment}>
{queryLength === 0 ? '? for shortcuts' : ''}
</Text>
2025-04-17 18:06:21 -04:00
</Box>
2025-04-19 12:38:09 -04:00
<Text color={Colors.AccentBlue}>Gemini</Text>
2025-04-18 18:08:43 -04:00
</Box>
);