import React, { Fragment } from 'react';
import styled from 'styled-components';
import { Field } from 'redux-form';
import { Row, Col } from 'joyent-react-styled-flexboxgrid';
import { Margin } from 'styled-components-spacing';
import pascalCase from 'pascal-case';
import titleCase from 'title-case';
import remcalc from 'remcalc';
import * as Assets from 'joyent-logo-assets';
import {
H3,
P,
FormGroup,
SectionList,
SectionListItem,
SectionListAnchor,
H4,
Select,
Card
} from 'joyent-ui-toolkit';
const Version = styled(Select)`
min-width: 100%;
width: ${remcalc(144)};
select {
margin: 0;
border-bottom-width: 0;
border-top-left-radius: 0;
border-top-right-radius: 0;
}
`;
export const Preview = ({ name, version, isVm }) => (
{isVm ? 'Hardware Virtual Machine' : 'Infrastructure Container'}
{name} - {version}