2019-03-16 15:44:29 -07:00
|
|
|
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;
|