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

Function Widget

packages/decap-cms-widget-string/src/index.js:4–11  ·  view source on GitHub ↗
(opts = {})

Source from the content-addressed store, hash-verified

2import previewComponent from './StringPreview';
3
4function Widget(opts = {}) {
5 return {
6 name: 'string',
7 controlComponent,
8 previewComponent,
9 ...opts,
10 };
11}
12
13export const DecapCmsWidgetString = { Widget, controlComponent, previewComponent };
14export default DecapCmsWidgetString;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected