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