1import React, { useEffect, useState } from 'react';
2import { Just } from 'folktale/maybe';
4import MaybeSigil from './MaybeSigil';
6const selectColorway = (valid, error, active) => {
8 return ['#2AA779', '#FFFFFF'];
12 return ['#4330FC', '#FFFFFF'];
16 return ['#F8C134', '#FFFFFF'];
19 return ['#7F7F7F', '#FFFFFF'];
22export default function InputSigil({
30 const [lastValidPatp, setLastValidPatp] = useState(patp);
34 setLastValidPatp(patp);
40 patp={Just(lastValidPatp)}
42 colors={selectColorway(valid, error, active)}
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