13 lines
329 B
JavaScript
Raw Normal View History

import controlComponent from './SelectControl';
import previewComponent from './SelectPreview';
2019-03-27 13:47:28 -07:00
const Widget = (opts = {}) => ({
name: 'select',
controlComponent,
previewComponent,
...opts,
});
export const NetlifyCmsWidgetSelect = { Widget, controlComponent, previewComponent };
export default NetlifyCmsWidgetSelect;