diff options
author | Fred Carlsen <fred@sjelfull.no> | 2018-11-28 21:04:29 +0800 |
---|---|---|
committer | Fred Carlsen <fred@sjelfull.no> | 2018-11-28 21:04:38 +0800 |
commit | 5578c70cd685273f1a6fae8ab6c90dcd50c6240b (patch) | |
tree | ea57951f30981fcf9f98b10207091c889e9ca6ff /packages/website/ts | |
parent | 3e2c93f5a0a6eca0ea9ec1ce7a8918badc97b1db (diff) | |
download | dexon-0x-contracts-5578c70cd685273f1a6fae8ab6c90dcd50c6240b.tar.gz dexon-0x-contracts-5578c70cd685273f1a6fae8ab6c90dcd50c6240b.tar.zst dexon-0x-contracts-5578c70cd685273f1a6fae8ab6c90dcd50c6240b.zip |
WIP button
Diffstat (limited to 'packages/website/ts')
-rw-r--r-- | packages/website/ts/@next/components/button.tsx | 21 |
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> +); |