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

export const INPUT_NATIVE_WIDGET_CONFIG: WidgetConfig = {
  type: "INPUT_NATIVE_WIDGET",
  displayName: "InputNativeWidget",
  widgetName: "InputNativeWidget",
  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",
  }
};
