mirror of
https://github.com/claude-code-best/claude-code.git
synced 2026-06-24 17:15:50 +00:00
style: 格式化 packages/@ant/ 下所有文件以通过 biome ci
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -1,16 +1,16 @@
|
||||
import React from 'react'
|
||||
import { useIsInsideModal } from './modalContext.js'
|
||||
import { Box } from '../index.js'
|
||||
import type { Theme } from './theme-types.js'
|
||||
import { Divider } from './Divider.js'
|
||||
import React from 'react';
|
||||
import { useIsInsideModal } from './modalContext.js';
|
||||
import { Box } from '../index.js';
|
||||
import type { Theme } from './theme-types.js';
|
||||
import { Divider } from './Divider.js';
|
||||
|
||||
type PaneProps = {
|
||||
children: React.ReactNode
|
||||
children: React.ReactNode;
|
||||
/**
|
||||
* Theme color for the top border line.
|
||||
*/
|
||||
color?: keyof Theme
|
||||
}
|
||||
color?: keyof Theme;
|
||||
};
|
||||
|
||||
/**
|
||||
* A pane — a region of the terminal that appears below the REPL prompt,
|
||||
@@ -44,7 +44,7 @@ export function Pane({ children, color }: PaneProps): React.ReactNode {
|
||||
<Box flexDirection="column" paddingX={1} flexShrink={0}>
|
||||
{children}
|
||||
</Box>
|
||||
)
|
||||
);
|
||||
}
|
||||
return (
|
||||
<Box flexDirection="column" paddingTop={1}>
|
||||
@@ -53,5 +53,5 @@ export function Pane({ children, color }: PaneProps): React.ReactNode {
|
||||
{children}
|
||||
</Box>
|
||||
</Box>
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user