style: 完成所有文件的lint

This commit is contained in:
claude-code-best
2026-05-01 21:39:30 +08:00
parent d136872cc9
commit 6182015005
1333 changed files with 68255 additions and 77882 deletions

View File

@@ -1,23 +1,17 @@
import * as React from 'react'
import { Box, Text, stringWidth } from '@anthropic/ink'
import TextInput from '../TextInput.js'
import * as React from 'react';
import { Box, Text, stringWidth } from '@anthropic/ink';
import TextInput from '../TextInput.js';
type Props = {
value: string
onChange: (value: string) => void
historyFailedMatch: boolean
}
value: string;
onChange: (value: string) => void;
historyFailedMatch: boolean;
};
function HistorySearchInput({
value,
onChange,
historyFailedMatch,
}: Props): React.ReactNode {
function HistorySearchInput({ value, onChange, historyFailedMatch }: Props): React.ReactNode {
return (
<Box gap={1}>
<Text dimColor>
{historyFailedMatch ? 'no matching prompt:' : 'search prompts:'}
</Text>
<Text dimColor>{historyFailedMatch ? 'no matching prompt:' : 'search prompts:'}</Text>
<TextInput
value={value}
onChange={onChange}
@@ -31,7 +25,7 @@ function HistorySearchInput({
dimColor={true}
/>
</Box>
)
);
}
export default HistorySearchInput
export default HistorySearchInput;