Removes <Link> component, clean up Button.tsx

This commit is contained in:
Ezekiel Aquino
2018-12-13 16:39:03 +01:00
parent f846e2f6e0
commit 81690d1ce5
11 changed files with 127 additions and 216 deletions

View File

@@ -3,7 +3,7 @@ import * as React from 'react';
import {Link as RouterLink} from 'react-router-dom';
import styled, {withTheme} from 'styled-components';
import {Link} from 'ts/@next/components/button';
import {Button} from 'ts/@next/components/button';
import {Column, Wrap, WrapGrid} from 'ts/@next/components/layout';
import {Heading} from 'ts/@next/components/text';
import {GlobalStyle} from 'ts/@next/constants/globalStyle';
@@ -172,7 +172,7 @@ const StyledWrap = styled(Wrap)`
}
`;
const StyledLink = styled(Link)`
const StyledLink = styled(Button)`
width: 100%;
position: absolute;
bottom: 0;