1import React from 'react';
2import { Button } from 'indigo-react';
4import { blinkIf } from './Blinky';
6// NOTE: the -> is correct because inter recognizes the pair
7export const ForwardButton = ({ loading, ...props }) => (
8 <Button accessory={blinkIf(loading, '->')} {...props} />
10export const DownloadButton = ({ loading, ...props }) => (
11 <Button accessory={blinkIf(loading, '↓')} {...props} />
13export const RestartButton = props => <Button accessory="↺" {...props} />;
14export const GenerateButton = ({ loading, ...props }) => (
15 <Button accessory={blinkIf(loading, '○')} solid {...props} />
17export const OutButton = props => (
18 <Button as="a" target="_blank" accessory="↗" {...props} />
21export const OfflineButton = props => (
22 <OutButton {...props} href="https://github.com/urbit/bridge/releases">
27export const HostingButton = props => (
28 <ForwardButton detail="Boot your Urbit OS" {...props}>
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