12 lines
318 B
JavaScript
12 lines
318 B
JavaScript
import React from 'react';
|
|
import PropTypes from 'prop-types';
|
|
import { WidgetPreviewContainer } from 'netlify-cms-ui-default';
|
|
|
|
const RelationPreview = ({ value }) => <WidgetPreviewContainer>{value}</WidgetPreviewContainer>;
|
|
|
|
RelationPreview.propTypes = {
|
|
value: PropTypes.node,
|
|
};
|
|
|
|
export default RelationPreview;
|