import classNames from 'classnames'; import React, { Fragment } from 'react'; import type { HotkeyAction } from '../../hooks/useHotKey'; import { HotKey } from './HotKey'; import { HotKeyLabel } from './HotKeyLabel'; interface Props { hotkeys: HotkeyAction[]; bottomSlot?: React.ReactNode; className?: string; } export const HotKeyList = ({ hotkeys, bottomSlot, className }: Props) => { return (