1import React from 'react';
2import cn from 'classnames';
3import * as ob from 'urbit-ob';
5import Sigil from './Sigil';
7const selectColorway = (pass, fail, focused) => {
9 return ['#FFFFFF', '#2AA779'];
13 return ['#FFFFFF', '#4330FC'];
17 return ['#FFFFFF', '#F8C134'];
20 return ['#FFFFFF', '#7F7F7F'];
23export default function ValidatedSigil({
32 const colorway = selectColorway(pass, error, focused);
33 const valid = ob.isValidPatp(patp);
36 <Sigil patp={patp} size={size} colorway={colorway} margin={0} {...rest} />
38 <div className={cn('bg-transparent', className)} />
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