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