summaryrefslogtreecommitdiff
path: root/packages/cli/src/ui/components/ShellModeIndicator.tsx
blob: e414703512e341d4616f2f2be4c71fd1e998667b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/**
 * @license
 * Copyright 2025 Google LLC
 * SPDX-License-Identifier: Apache-2.0
 */

import React from 'react';
import { Box, Text } from 'ink';
import { Colors } from '../colors.js';

export const ShellModeIndicator: React.FC = () => (
  <Box>
    <Text color={Colors.AccentYellow}>
      shell mode enabled
      <Text color={Colors.SubtleComment}> (! to toggle)</Text>
    </Text>
  </Box>
);