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:
@@ -6,30 +6,18 @@
|
||||
* internal theme components.
|
||||
*/
|
||||
|
||||
import React from 'react'
|
||||
import { KeyboardShortcutHint } from './KeyboardShortcutHint.js'
|
||||
import React from 'react';
|
||||
import { KeyboardShortcutHint } from './KeyboardShortcutHint.js';
|
||||
|
||||
type Props = {
|
||||
action: string
|
||||
context: string
|
||||
fallback: string
|
||||
description: string
|
||||
parens?: boolean
|
||||
bold?: boolean
|
||||
}
|
||||
action: string;
|
||||
context: string;
|
||||
fallback: string;
|
||||
description: string;
|
||||
parens?: boolean;
|
||||
bold?: boolean;
|
||||
};
|
||||
|
||||
export function ConfigurableShortcutHint({
|
||||
fallback,
|
||||
description,
|
||||
parens,
|
||||
bold,
|
||||
}: Props): React.ReactNode {
|
||||
return (
|
||||
<KeyboardShortcutHint
|
||||
shortcut={fallback}
|
||||
action={description}
|
||||
parens={parens}
|
||||
bold={bold}
|
||||
/>
|
||||
)
|
||||
export function ConfigurableShortcutHint({ fallback, description, parens, bold }: Props): React.ReactNode {
|
||||
return <KeyboardShortcutHint shortcut={fallback} action={description} parens={parens} bold={bold} />;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user