2018-07-24 22:36:41 -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 TextPreview = ({ value }) => <WidgetPreviewContainer>{value}</WidgetPreviewContainer>;
|
2018-07-24 22:36:41 -04:00
|
|
|
|
|
|
|
TextPreview.propTypes = {
|
|
|
|
value: PropTypes.node,
|
|
|
|
};
|
|
|
|
|
|
|
|
export default TextPreview;
|