summaryrefslogtreecommitdiff
path: root/packages/cli/src/ui/components/Footer.tsx
blob: e018780c5cc4706272c8a37f3d3bd8f71ec29aa2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import React from 'react';
import { Box, Text } from 'ink';

interface FooterProps {
  queryLength: number;
}

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