2020-06-03 16:43:34 +03:00

15 lines
370 B
JavaScript

import controlComponent from './SelectControl';
import previewComponent from './SelectPreview';
import schema from './schema';
const Widget = (opts = {}) => ({
name: 'select',
controlComponent,
previewComponent,
schema,
...opts,
});
export const NetlifyCmsWidgetSelect = { Widget, controlComponent, previewComponent };
export default NetlifyCmsWidgetSelect;