Panel listing editor actions with their kbd shortcut combinations on the right.
Requires shadcn/ui initialized. Run npx shadcn@latest init if you haven't.
import { Editor37 } from "@/components/beste/piece/editor37";
<Editor37
title="Keybindings"
bindings={[
{
"action": "Command palette",
"keys": [
"⌘",
"K"
]
},
{
"action": "Quick open",
"keys": [
"⌘",
"P"
]
},
{
"action": "Toggle terminal",
"keys": [
"⌃",
"`"
]
},
{
"action": "Format document",
"keys": [
"⌥",
"⇧",
"F"
]
}
]}
/>