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