import React from 'react'; import type { HotkeyAction } from '../../hooks/useHotkey'; import { HotKey } from './HotKey'; import { HotKeyLabel } from './HotKeyLabel'; interface Props { hotkeys: HotkeyAction[]; } export const HotKeyList = ({ hotkeys }: Props) => { return (
{hotkeys.map((hotkey) => (
))}
); };