This commit is contained in:
18
node_modules/decap-cms-widget-map/src/index.js
generated
vendored
Normal file
18
node_modules/decap-cms-widget-map/src/index.js
generated
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
import withMapControl from './withMapControl';
|
||||
import previewComponent from './MapPreview';
|
||||
import schema from './schema';
|
||||
|
||||
const controlComponent = withMapControl();
|
||||
|
||||
function Widget(opts = {}) {
|
||||
return {
|
||||
name: 'map',
|
||||
controlComponent,
|
||||
previewComponent,
|
||||
schema,
|
||||
...opts,
|
||||
};
|
||||
}
|
||||
|
||||
export const DecapCmsWidgetMap = { Widget, controlComponent, previewComponent };
|
||||
export default DecapCmsWidgetMap;
|
||||
Reference in New Issue
Block a user