import { ReactComponent as CheckboxWidgetIcon}  from "@/assets/widgetCover/checkBox.svg"

import {RESIZE_DIRECTION, WidgetConfig } from "@/widgetLibrary/interface"

export const CHECKBOX_WIDGET_CONFIG: WidgetConfig = {
  type: "CHECKBOX_WIDGET",
  displayName: "checkBox",
  widgetName: "checkBox",
  icon: <CheckboxWidgetIcon />,
  keywords: ["checkBox", "文本输入框"],
  sessionType: "INPUTS",
  w: 6,
  h: 5,
  resizeDirection: RESIZE_DIRECTION.ALL,
  version: 0,
  defaults: {
    label:"check",
    checked:false,
    disabled: false,
    labelPlacement:"end",
    required: false,
    iconName:"",
    checkedIconName:"",
    color:"secondary",
    styles:{},
  },
}
