import * as React from 'react'; import styled from 'styled-components'; import { colors } from 'ts/style/colors'; interface InputProps { name: string; label: string; type: string; } interface Props { } const Input = (props: InputProps) => { const { name, label, type } = props; const id = `input-${name}`; return ( <> ); }; export class NewsletterForm extends React.Component { public submit = () => { // submit this form } public render(): React.ReactNode { return ( Subscribe to our newsletter for updates in the 0x ecosystem ) } } const StyledForm = styled.form` appearance: none; border: 0; color: ${colors.white}; padding: 13px 0 14px; margin-top: 27px; `; const StyledInput = styled.input` appearance: none; background-color: transparent; border: 0; border-bottom: 1px solid #393939; color: ${colors.textDarkSecondary}; font-size: 1.294117647rem; padding: 15px 0; outline: none; width: 100%; `; const InputWrapper = styled.div` position: relative; `; const SubmitButton = styled.button` width: 44px; height: 44px; background-color: transparent; border: 0; position: absolute; right: 0; top: calc(50% - 22px); `; const Text = styled.p` color: #656565; font-size: 0.833333333rem; font-weight: 300; line-height: 1.2em; margin-top: 15px; `;