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

Function MapPreview

packages/decap-cms-widget-map/src/MapPreview.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 MapPreview({ value }) {
5 return <WidgetPreviewContainer>{value ? value.toString() : null}</WidgetPreviewContainer>;
6}
7
8MapPreview.propTypes = {
9 value: PropTypes.string,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected