import { ReactComponent as ButtonWidgetIcon}  from "@/assets/widgetCover/button.svg"
// import i18n from "@/i18n/config"
import { WidgetConfig } from "../interface"
export const BUTTON_WIDGET_CONFIG: WidgetConfig = {
  type: "BUTTON_WIDGET",
  displayName: "button",
  widgetName:"button",
  version:0,
  keywords: ["Button", "按钮"],
  icon: <ButtonWidgetIcon />,
  sessionType: "PRESENTATION",
  w: 6,
  h: 5,
  defaults: {
    text: "button",
    // i18n.t("widget.button.default_text"),
    variant: "contained",
    colorScheme: "warning",
    hidden: false,
  },
}