1import React from 'react';
2import { Button } from 'indigo-react';
3import { Icon } from '@tlon/indigo-react';
5import { blinkIf } from './Blinky';
7// NOTE: the -> is correct because inter recognizes the pair
8export const ForwardButton = ({ loading, ...props }) => (
9 <Button accessory={blinkIf(loading, '->')} {...props} />
11export const DownloadButton = ({ loading, ...props }) => (
12 <Button accessory={blinkIf(loading, '↓')} {...props} />
14export const RestartButton = props => <Button accessory="↺" {...props} />;
15export const GenerateButton = ({ loading, ...props }) => (
16 <Button accessory={blinkIf(loading, '○')} solid {...props} />
18export const OutButton = props => (
19 <Button as="a" target="_blank" accessory="↗" {...props} />
22export const OfflineButton = props => (
23 <OutButton {...props} href="https://github.com/urbit/bridge/releases">
28export const CopyButton = props => (
30 accessory={<Icon icon="Copy" size="18px" color={'black'} />}
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