summaryrefslogtreecommitdiff
path: root/packages/cli/src/ui/components/Footer.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'packages/cli/src/ui/components/Footer.tsx')
-rw-r--r--packages/cli/src/ui/components/Footer.tsx21
1 files changed, 21 insertions, 0 deletions
diff --git a/packages/cli/src/ui/components/Footer.tsx b/packages/cli/src/ui/components/Footer.tsx
new file mode 100644
index 00000000..06e6c681
--- /dev/null
+++ b/packages/cli/src/ui/components/Footer.tsx
@@ -0,0 +1,21 @@
+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; \ No newline at end of file