chore: update datetime widget and deprecate date widget (#2615)

This commit is contained in:
melbourne2991
2019-09-06 06:16:55 +10:00
committed by Shawn Erquhart
parent 8d404a0d54
commit 65d49dae9a
5 changed files with 154 additions and 14 deletions

View File

@ -1,7 +1,6 @@
import controlComponent from './DateTimeControl';
import NetlifyCmsWidgetDate from 'netlify-cms-widget-date';
import previewComponent from './DateTimePreview';
const previewComponent = NetlifyCmsWidgetDate.previewComponent;
const Widget = (opts = {}) => ({
name: 'datetime',
controlComponent,