2018-07-24 23:35:59 -04:00
|
|
|
import React from 'react';
|
|
|
|
import PropTypes from 'prop-types';
|
|
|
|
import { WidgetPreviewContainer } from 'netlify-cms-ui-default';
|
|
|
|
|
2018-08-07 14:46:54 -06:00
|
|
|
const RelationPreview = ({ value }) => <WidgetPreviewContainer>{value}</WidgetPreviewContainer>;
|
2018-07-24 23:35:59 -04:00
|
|
|
|
|
|
|
RelationPreview.propTypes = {
|
|
|
|
value: PropTypes.node,
|
|
|
|
};
|
|
|
|
|
|
|
|
export default RelationPreview;
|