import React from 'react'; import styled from 'styled-components'; import { reduxForm } from 'redux-form'; import remcalc from 'remcalc'; import { FormGroup, Checkbox, Legend, CheckboxList } from 'joyent-ui-toolkit'; const Radios = styled.section` margin-top: ${remcalc(12)}; min-width: ${remcalc(200)}; label { font-size: ${remcalc(13)}; } `; const CheckboxListStyled = styled(CheckboxList)` display: flex; align-items: center; margin-top: ${remcalc(6)}; `; const DiskTypeForm = ({ onChange, handleSubmit }) => (
handleSubmit(params => onChange(params))}> Disk Magnetic SSD
); export default reduxForm({ form: 'magnetic' })(DiskTypeForm);