import  ButtonWidgetIcon  from "@/assets/widgetCover/button.svg";
// import i18n from "@/i18n/config"
import { RESIZE_DIRECTION, WidgetConfig } from "../interface";
export const BUTTON_WIDGET_CONFIG: WidgetConfig = {
  type: "BUTTON_WIDGET",
  displayName: "button",
  widgetName: "button",
  sessionType: "INPUTS",
  resizeDirection: RESIZE_DIRECTION.HORIZONTAL,
  version: 0,
  keywords: ["Button", "按钮"],
  icon: <ButtonWidgetIcon />,
  // sessionType: "PRESENTATION",
  defaults: {
    text: "button",
    variant: "contained",
    hidden: false,
  },
};
