1import React, { MouseEvent } from 'react';
2import { Box } from '@tlon/indigo-react';
6export interface ModalProps {
9 children: React.ReactNode;
12export default function Modal({ show, hide, children }: ModalProps) {
13 const dontHide = (e: MouseEvent) => {
22 <Box className="modal" onClick={hide}>
23 <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