import  DateWidgetIcon  from "@/assets/widgetCover/date.svg";
import { RESIZE_DIRECTION, WidgetConfig } from "@/widgetLibrary/interface";


export const DATE_WIDGET_CONFIG: WidgetConfig = {
  type: "DATE_WIDGET",
  displayName: "date",
  widgetName: "Date",
  icon: <DateWidgetIcon />,
  keywords: ["Label", "文本输入框"],
  sessionType: "CALENDAR",
  resizeDirection: RESIZE_DIRECTION.HORIZONTAL,
  version: 0,
  defaults: {
    value:"",
    label:"Date",
     format:"YYYY/MM/DD", 
    // minDate:"",
    // maxDate:"",
  },
};
