2018-07-24 22:36:41 -04:00
|
|
|
import React from 'react';
|
|
|
|
import PropTypes from 'prop-types';
|
|
|
|
import { WidgetPreviewContainer } from 'netlify-cms-ui-default';
|
|
|
|
|
2021-02-08 20:01:21 +02:00
|
|
|
function TextPreview({ value }) {
|
|
|
|
return <WidgetPreviewContainer>{value}</WidgetPreviewContainer>;
|
|
|
|
}
|
2018-07-24 22:36:41 -04:00
|
|
|
|
|
|
|
TextPreview.propTypes = {
|
|
|
|
value: PropTypes.node,
|
|
|
|
};
|
|
|
|
|
|
|
|
export default TextPreview;
|