aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/@next/components/button.tsx
blob: 48be7659ca58ad72eb0edac8d8cc4069d337ef70 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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>
);