14 lines
320 B
JavaScript
Raw Normal View History

2018-07-24 00:27:49 -04:00
import React from 'react';
import PropTypes from 'prop-types';
import { WidgetPreviewContainer } from 'netlify-cms-ui-default';
const StringPreview = ({ value }) => (
<WidgetPreviewContainer>{ value }</WidgetPreviewContainer>
);
StringPreview.propTypes = {
value: PropTypes.node,
};
export default StringPreview;