diff options
Diffstat (limited to 'packages/cli/src/ui/components/AutoAcceptIndicator.tsx')
| -rw-r--r-- | packages/cli/src/ui/components/AutoAcceptIndicator.tsx | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/packages/cli/src/ui/components/AutoAcceptIndicator.tsx b/packages/cli/src/ui/components/AutoAcceptIndicator.tsx new file mode 100644 index 00000000..dc23d5e2 --- /dev/null +++ b/packages/cli/src/ui/components/AutoAcceptIndicator.tsx @@ -0,0 +1,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 AutoAcceptIndicator: React.FC = () => ( + <Box> + <Text color={Colors.AccentGreen}> + accepting edits + <Text color={Colors.SubtleComment}> (shift + tab to disable)</Text> + </Text> + </Box> +); |
