({ binding }: { binding: string })
| 68 | } |
| 69 | |
| 70 | function KeyCap({ binding }: { binding: string }): JSX.Element { |
| 71 | return ( |
| 72 | <kbd className="rounded border border-paper-300 bg-paper-200/70 px-1.5 py-0.5 font-mono text-[11px] leading-none text-ink-600"> |
| 73 | {formatKeyToken(binding)} |
| 74 | </kbd> |
| 75 | ) |
| 76 | } |
| 77 | |
| 78 | /** |
| 79 | * A Notion-style floating "bubble" toolbar over a text selection: a "Turn into" |
nothing calls this directly
no test coverage detected