Download packages/cli/src/ui/components/shared/HorizontalLine.tsx from SaylorTwift/gemini-cli: direct link, hf CLI and curl.
- Browser
- Download file 580 Bytes
-
https://huggingface.co/SaylorTwift/gemini-cli/resolve/main/packages/cli/src/ui/components/shared/HorizontalLine.tsx
- Command line
-
hf download hf://SaylorTwift/gemini-cli/packages/cli/src/ui/components/shared/HorizontalLine.tsx
-
curl -L -o HorizontalLine.tsx https://huggingface.co/SaylorTwift/gemini-cli/resolve/main/packages/cli/src/ui/components/shared/HorizontalLine.tsx
580 Bytes
| /** | |
| * @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} | |
| /> | |
| ); | |