13 lines
339 B
JavaScript
Raw Normal View History

2019-03-15 10:19:57 -04:00
import controlComponent from './DateTimeControl';
import previewComponent from './DateTimePreview';
2019-03-15 10:19:57 -04:00
const Widget = (opts = {}) => ({
name: 'datetime',
controlComponent,
previewComponent,
...opts,
});
export const NetlifyCmsWidgetDatetime = { Widget, controlComponent, previewComponent };
2019-03-27 13:47:28 -07:00
export default NetlifyCmsWidgetDatetime;