mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-20 10:10:56 -07:00
feat(ux): update cell border color and created test file for table rendering (#17798)
This commit is contained in:
@@ -124,14 +124,16 @@ export const TableRenderer: React.FC<TableRendererProps> = ({
|
||||
|
||||
return (
|
||||
<Text color={theme.text.primary}>
|
||||
│{' '}
|
||||
<Text color={theme.border.default}>│</Text>{' '}
|
||||
{renderedCells.map((cell, index) => (
|
||||
<React.Fragment key={index}>
|
||||
{cell}
|
||||
{index < renderedCells.length - 1 ? ' │ ' : ''}
|
||||
{index < renderedCells.length - 1 && (
|
||||
<Text color={theme.border.default}>{' │ '}</Text>
|
||||
)}
|
||||
</React.Fragment>
|
||||
))}{' '}
|
||||
│
|
||||
<Text color={theme.border.default}>│</Text>
|
||||
</Text>
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user