mirror of
https://github.com/claude-code-best/claude-code.git
synced 2026-06-23 00:35:51 +00:00
This reverts commit c445f43f8d.
This commit is contained in:
@@ -1,35 +0,0 @@
|
||||
/**
|
||||
* Simplified ConfigurableShortcutHint for the standalone @anthropic/ink package.
|
||||
*
|
||||
* The full version reads user-configured keybindings via useShortcutDisplay.
|
||||
* This stub just renders the fallback shortcut — sufficient for the package's
|
||||
* internal theme components.
|
||||
*/
|
||||
|
||||
import React from 'react'
|
||||
import { KeyboardShortcutHint } from './KeyboardShortcutHint.js'
|
||||
|
||||
type Props = {
|
||||
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}
|
||||
/>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user