1import React from 'react';
2import cn from 'classnames';
4import Flex from './Flex';
6// TODO: make this look like screens
7export default function CheckboxInput({
38 className={cn(className, 'mv2')}
43 pointerEvents: 'none',
44 cursor: 'not-allowed',
47 {/* we totally hide the checkbox itself */}
51 className={cn('super-hidden')}
56 {/* and then display a prettier one in its stead */}
60 className="f6 mr3 lh-tall us-none clickable flex-row align-center"
65 className={cn('b-black b1 p1 mr3', {
66 'bg-black white': data,
67 'bg-white black': !data,
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