Skip to content
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.

Commit

Permalink
fix: disable example link for the time being
Browse files Browse the repository at this point in the history
  • Loading branch information
marionebl committed May 24, 2018
1 parent 450d254 commit 72bc83c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
4 changes: 2 additions & 2 deletions src/components/button/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ import { getSpace, SpaceSize } from '../space';
import styled, { css } from 'styled-components';

export interface ButtonProps {
textColor?: Color;
inverted?: boolean;
onClick?: React.MouseEventHandler<HTMLElement>;
order?: ButtonOrder;
size?: ButtonSize;
inverted?: boolean;
textColor?: Color;
}

export enum ButtonOrder {
Expand Down
18 changes: 10 additions & 8 deletions src/components/connect-library/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@ import Button, { ButtonOrder, ButtonSize } from '../button';
import { colors } from '../colors';
import { Copy } from '../copy';
import { Headline } from '../headline';
import Link from '../link';
// import Link from '../link';
import * as React from 'react';
import Space, { getSpace, SpaceSize } from '../space';
import styled from 'styled-components';

export interface ConnectLibraryProps {
onClick?: React.MouseEventHandler<HTMLElement>;
headline?: string;
description?: string;
primaryButton?: string;
secondaryButton?: string;
headline?: string;
onClick?: React.MouseEventHandler<HTMLElement>;
onPrimaryButtonClick?: React.MouseEventHandler<HTMLElement>;
onSecondaryButtonClick?: React.MouseEventHandler<HTMLElement>;
primaryButton?: string;
secondaryButton?: string;
}

const StyledConnectLibrary = styled.div`
Expand Down Expand Up @@ -47,8 +47,10 @@ export const ConnectLibrary: React.SFC<ConnectLibraryProps> = props => (
{props.primaryButton}
</Button>
</Space>
<Link onClick={props.onSecondaryButtonClick}>
<Copy>{props.secondaryButton}</Copy>
</Link>
{/*
<Link onClick={props.onSecondaryButtonClick}>
<Copy>{props.secondaryButton}</Copy>
</Link>
*/}
</StyledConnectLibrary>
);

0 comments on commit 72bc83c

Please sign in to comment.