1import React, { MouseEvent } from 'react';
2import { Box } from '@tlon/indigo-react';
6export interface ModalProps {
10 children: React.ReactNode;
13export default function Modal({
19 const dontHide = (e: MouseEvent) => {
28 <Box className="modal" onClick={hide}>
29 <Box className="content">
31 <Box className="close" onClick={hide}>
35 <Box onClick={dontHide}>{children}</Box>
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list