1import React from 'react';
2import * as ob from 'urbit-ob';
4import Sigil from './Sigil';
6const selectColorway = (pass, fail, focused) => {
8 return ['#FFFFFF', '#2AA779'];
12 return ['#FFFFFF', '#4330FC'];
16 return ['#FFFFFF', '#F8C134'];
19 return ['#FFFFFF', '#7F7F7F'];
22export default function ValidatedSigil({
31 const colorway = selectColorway(pass, error, focused);
32 const valid = ob.isValidPatp(patp);
35 <div className={className}>
37 <Sigil patp={patp} size={size} colorway={colorway} {...rest} />
40 className="bg-transparent"
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