on f660f7b help sign in
bridge/src/components/Buttons.js
16 lines 611 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 OutButton = props => (
9 <Button as="a" target="_blank" accessory="↗" {...props} />
10);
12export const OfflineButton = props => (
13 <OutButton {...props} href="https://github.com/urbit/bridge/releases">
14 Offline
15 </OutButton>
16);