import React, { PropTypes } from 'react'; import ImmutablePropTypes from 'react-immutable-proptypes'; function isVisible(field) { return field.get('widget') !== 'hidden'; } const style = { fontFamily: 'Roboto, "Helvetica Neue", HelveticaNeue, Helvetica, Arial, sans-serif', }; export default function Preview({ collection, fields, widgetFor }) { if (!collection || !fields) { return null; } return (