1import React from 'react';
2import { Button } from 'indigo-react';
3import { Icon } from '@tlon/indigo-react';
5import { blinkIf } from './Blinky';
6import WithTooltip from './WithTooltip';
8// NOTE: the -> is correct because inter recognizes the pair
9export const ForwardButton = ({ loading, ...props }) => (
10 <Button accessory={blinkIf(loading, '->')} {...props} />
12export const DownloadButton = ({ loading, ...props }) => (
13 <Button accessory={blinkIf(loading, '↓')} {...props} />
15export const RestartButton = props => <Button accessory="↺" {...props} />;
16export const GenerateButton = ({ loading, ...props }) => (
17 <Button accessory={blinkIf(loading, '○')} solid {...props} />
19export const OutButton = props => (
20 <Button as="a" target="_blank" accessory="↗" {...props} />
23export const OfflineButton = props => (
24 <OutButton {...props} href="https://github.com/urbit/bridge/releases">
29export const CopyButton = ({ didCopy = false, ...props }) => (
32 <WithTooltip content={didCopy ? 'Copied!' : 'Copy'}>
33 <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