1import React from 'react';
2import cn from 'classnames';
4import Flex from './Flex';
6export default function CheckboxInput({
36 className={cn(className, 'mv2')}
41 pointerEvents: 'none',
42 cursor: 'not-allowed',
45 {/* we totally hide the checkbox itself */}
49 className={cn('super-hidden')}
54 {/* and then display a prettier one in its stead */}
58 className="f6 mr3 lh-tall us-none clickable flex-row align-center"
63 className={cn('b-black b1 p1 mr3', {
64 'bg-black white': data,
65 '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