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