All checks were successful
Publish To Prod / deploy_and_publish (push) Successful in 35s
19 lines
417 B
JavaScript
19 lines
417 B
JavaScript
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;
|