aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website
diff options
context:
space:
mode:
authorFred Carlsen <fred@sjelfull.no>2018-11-28 21:04:29 +0800
committerFred Carlsen <fred@sjelfull.no>2018-11-28 21:04:38 +0800
commit5578c70cd685273f1a6fae8ab6c90dcd50c6240b (patch)
treeea57951f30981fcf9f98b10207091c889e9ca6ff /packages/website
parent3e2c93f5a0a6eca0ea9ec1ce7a8918badc97b1db (diff)
downloaddexon-sol-tools-5578c70cd685273f1a6fae8ab6c90dcd50c6240b.tar
dexon-sol-tools-5578c70cd685273f1a6fae8ab6c90dcd50c6240b.tar.gz
dexon-sol-tools-5578c70cd685273f1a6fae8ab6c90dcd50c6240b.tar.bz2
dexon-sol-tools-5578c70cd685273f1a6fae8ab6c90dcd50c6240b.tar.lz
dexon-sol-tools-5578c70cd685273f1a6fae8ab6c90dcd50c6240b.tar.xz
dexon-sol-tools-5578c70cd685273f1a6fae8ab6c90dcd50c6240b.tar.zst
dexon-sol-tools-5578c70cd685273f1a6fae8ab6c90dcd50c6240b.zip
WIP button
Diffstat (limited to 'packages/website')
-rw-r--r--packages/website/ts/@next/components/button.tsx21
1 files changed, 21 insertions, 0 deletions
diff --git a/packages/website/ts/@next/components/button.tsx b/packages/website/ts/@next/components/button.tsx
index e69de29bb..48be7659c 100644
--- a/packages/website/ts/@next/components/button.tsx
+++ b/packages/website/ts/@next/components/button.tsx
@@ -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>
+);