Files
gemini-cli/packages/cli/src/ui/components/Footer.tsx
T
Taylor Mullen 945e7940f2 Run npm run format
- Also updated README.md accordingly.

Part of https://b.corp.google.com/issues/411384603
2025-04-17 15:29:34 -07:00

20 lines
438 B
TypeScript

import React from 'react';
import { Box, Text } from 'ink';
interface FooterProps {
queryLength: number;
}
const Footer: React.FC<FooterProps> = ({ queryLength }) => {
return (
<Box marginTop={1} justifyContent="space-between">
<Box minWidth={15}>
<Text color="gray">{queryLength === 0 ? '? for shortcuts' : ''}</Text>
</Box>
<Text color="blue">Gemini</Text>
</Box>
);
};
export default Footer;