mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-03-14 16:10:59 -07:00
31 lines
580 B
TypeScript
31 lines
580 B
TypeScript
/**
|
|
* @license
|
|
* Copyright 2025 Google LLC
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
import type React from 'react';
|
|
import { Box } from 'ink';
|
|
import { theme } from '../../semantic-colors.js';
|
|
|
|
interface HorizontalLineProps {
|
|
color?: string;
|
|
dim?: boolean;
|
|
}
|
|
|
|
export const HorizontalLine: React.FC<HorizontalLineProps> = ({
|
|
color = theme.border.default,
|
|
dim = false,
|
|
}) => (
|
|
<Box
|
|
width="100%"
|
|
borderStyle="single"
|
|
borderTop
|
|
borderBottom={false}
|
|
borderLeft={false}
|
|
borderRight={false}
|
|
borderColor={color}
|
|
borderDimColor={dim}
|
|
/>
|
|
);
|