2025-04-15 21:41:08 -07:00
|
|
|
import React from 'react';
|
|
|
|
|
import { Box, Text } from 'ink';
|
|
|
|
|
|
|
|
|
|
interface FooterProps {
|
2025-04-17 18:06:21 -04:00
|
|
|
queryLength: number;
|
2025-04-15 21:41:08 -07:00
|
|
|
}
|
|
|
|
|
|
2025-04-18 10:53:16 -04:00
|
|
|
const Footer: React.FC<FooterProps> = ({ queryLength }) => (
|
2025-04-18 18:08:43 -04:00
|
|
|
<Box marginTop={1} justifyContent="space-between">
|
|
|
|
|
<Box minWidth={15}>
|
|
|
|
|
<Text color="gray">{queryLength === 0 ? '? for shortcuts' : ''}</Text>
|
2025-04-17 18:06:21 -04:00
|
|
|
</Box>
|
2025-04-18 18:08:43 -04:00
|
|
|
<Text color="blue">Gemini</Text>
|
|
|
|
|
</Box>
|
|
|
|
|
);
|
2025-04-15 21:41:08 -07:00
|
|
|
|
2025-04-17 18:06:21 -04:00
|
|
|
export default Footer;
|