MCPcopy Create free account
hub / github.com/decaporg/decap-cms / StringPreview

Function StringPreview

packages/decap-cms-widget-string/src/StringPreview.js:4–6  ·  view source on GitHub ↗
({ value })

Source from the content-addressed store, hash-verified

2import { WidgetPreviewContainer } from 'decap-cms-ui-default';
3
4function StringPreview({ value }) {
5 return <WidgetPreviewContainer>{value}</WidgetPreviewContainer>;
6}
7
8StringPreview.propTypes = {
9 value: PropTypes.node,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected