import type { PropsWithChildren } from 'react'; import { cx } from '../../utils/styleUtils'; import Kbd from '../kbd/Kbd'; import style from './KeyboardShortcuts.module.scss'; export function ShortcutGroups({ className, children }: PropsWithChildren<{ className?: string }>) { return
{children}
; } export function ShortcutGroup({ title, children }: PropsWithChildren<{ title: string }>) { return (

{title}

{children}
); } export function Shortcut({ label, children }: PropsWithChildren<{ label: string }>) { return (
{label} {children}
); } export function Combo({ keys }: { keys: string[] }) { return ( {keys.map((key) => ( {key} ))} ); } export function Separator() { return /; }