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

export const INPUT_WIDGET_CONFIG: WidgetConfig = {
  type: "INPUT_WIDGET",
  displayName: "input",
  widgetName: "input",
  icon: <TextInputWidgetIcon />,
  keywords: ["Input", "文本输入框"], 
  sessionType: "INPUTS",
  resizeDirection: RESIZE_DIRECTION.HORIZONTAL,
  version: 0,
  defaults: {
    value: "",
    defaultValue: "",
    label: "input",
    styles: {},
    margin: "normal",
    variant: "outlined",
    type: "text",
    color: "success",
    size: "small",
  }
};
