WIP button

This commit is contained in:
Fred Carlsen
2018-11-28 14:04:29 +01:00
parent 3e2c93f5a0
commit 5578c70cd6

View File

@@ -0,0 +1,21 @@
import * as React from 'react';
import styled from 'styled-components';
export interface ButtonInterface {
text: string;
}
const StyledButton = styled.button`
text-align: center;
`;
const Text = styled.span`
font-size: 1rem;
line-height: 1.375rem;
`;
export const Button: React.StatelessComponent<ButtonInterface> = ({ text }) => (
<StyledButton>
<Text>Get Started</Text>
</StyledButton>
);