on af19266 help sign in
bridge/src/components/Buttons.js
25 lines 836 B history raw
1import React from 'react';
2import { Button } from 'indigo-react';
4// NOTE: the -> is correct because inter recognizes the pair
5export const ForwardButton = props => <Button accessory="->" {...props} />;
6export const DownloadButton = props => <Button accessory="↓" {...props} />;
7export const RestartButton = props => <Button accessory="↺" solid {...props} />;
8export const GenerateButton = props => (
9 <Button accessory="○" solid {...props} />
10);
11export const OutButton = props => (
12 <Button as="a" target="_blank" accessory="↗" {...props} />
13);
15export const OfflineButton = props => (
16 <OutButton {...props} href="https://github.com/urbit/bridge/releases">
17 Offline
18 </OutButton>
19);
21export const BootArvoButton = props => (
22 <ForwardButton detail="Boot your computer" {...props}>
23 Boot Arvo
24 </ForwardButton>
25);