import React from 'react'; import PropTypes from 'prop-types'; import styled from 'styled-components'; import TextInput from '../TextInput'; import Button from '../Button'; import Checkbox from '../Checkbox'; const Form = styled.form` position: relative; display: flex; flex-direction: column; margin: 32px 0; input { flex: 0 0 auto; margin-right: 16px; } `; const InputWrapper = styled.div` display: flex; `; const Message = styled.div` position: absolute; left: 0; bottom: -32px; color: green; `; const Error = styled.div` position: absolute; left: 0; bottom: -32px; color: red; `; const SettingsBan = props => (