2019-03-15 10:19:57 -04:00
|
|
|
import controlComponent from './DateTimeControl';
|
|
|
|
import { previewComponent } from 'netlify-cms-widget-date';
|
|
|
|
|
|
|
|
const Widget = (opts = {}) => ({
|
|
|
|
name: 'datetime',
|
|
|
|
controlComponent,
|
|
|
|
previewComponent,
|
|
|
|
...opts,
|
|
|
|
});
|
|
|
|
|
2019-03-16 15:44:29 -07:00
|
|
|
export const NetlifyCmsWidgetDatetime = { Widget, controlComponent, previewComponent };
|
2019-03-25 10:57:17 -07:00
|
|
|
export { Widget as default, controlComponent, previewComponent };
|