fix(storybook): mock keybind formatter
This commit is contained in:
parent
4511d05c61
commit
8a1f4e7727
1 changed files with 4 additions and 0 deletions
|
|
@ -8,6 +8,10 @@ const keybinds: Record<string, string> = {
|
||||||
"model.variant.cycle": "mod+shift+m",
|
"model.variant.cycle": "mod+shift+m",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export function formatKeybind(config: string) {
|
||||||
|
return config === "none" ? "" : config
|
||||||
|
}
|
||||||
|
|
||||||
export function useCommand() {
|
export function useCommand() {
|
||||||
return {
|
return {
|
||||||
options: [],
|
options: [],
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue