import React from "react";
import { t } from "../i18n";
import { isDarwin } from "../keys";
import { Dialog } from "./Dialog";
import { getShortcutKey } from "../utils";
const ShortcutIsland = (props: {
title: string;
children: React.ReactNode;
}) => (
{props.title}
{props.children}
);
const Shortcut = (props: { title: string; shortcuts: string[] }) => (
{props.title}
{props.shortcuts.map((shortcut) => (
{shortcut}
))}
);
const ShortcutKey = (props: { children: React.ReactNode }) => (
);
const Footer = () => (
);
export const ShortcutsDialog = ({ onClose }: { onClose?: () => void }) => {
const handleClose = React.useCallback(() => {
if (onClose) {
onClose();
}
}, [onClose]);
return (
<>
>
);
};