mirror of
https://github.com/claude-code-best/claude-code.git
synced 2026-06-21 15:55:50 +00:00
style: 完成所有文件的lint
This commit is contained in:
@@ -1,24 +1,15 @@
|
||||
import * as React from 'react'
|
||||
import { Box, Text } from '@anthropic/ink'
|
||||
import { Markdown } from '../Markdown.js'
|
||||
import * as React from 'react';
|
||||
import { Box, Text } from '@anthropic/ink';
|
||||
import { Markdown } from '../Markdown.js';
|
||||
|
||||
type Props = {
|
||||
addMargin: boolean
|
||||
planContent: string
|
||||
}
|
||||
addMargin: boolean;
|
||||
planContent: string;
|
||||
};
|
||||
|
||||
export function UserPlanMessage({
|
||||
addMargin,
|
||||
planContent,
|
||||
}: Props): React.ReactNode {
|
||||
export function UserPlanMessage({ addMargin, planContent }: Props): React.ReactNode {
|
||||
return (
|
||||
<Box
|
||||
flexDirection="column"
|
||||
borderStyle="round"
|
||||
borderColor="planMode"
|
||||
marginTop={addMargin ? 1 : 0}
|
||||
paddingX={1}
|
||||
>
|
||||
<Box flexDirection="column" borderStyle="round" borderColor="planMode" marginTop={addMargin ? 1 : 0} paddingX={1}>
|
||||
<Box marginBottom={1}>
|
||||
<Text bold color="planMode">
|
||||
Plan to implement
|
||||
@@ -26,5 +17,5 @@ export function UserPlanMessage({
|
||||
</Box>
|
||||
<Markdown>{planContent}</Markdown>
|
||||
</Box>
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user