import { ComponentMetadata, Snippet } from "@alilc/lowcode-types";


const VirtualKeyboardMeta: ComponentMetadata = {
  componentName: "VirtualKeyboard",
  title: "VirtualKeyboard",
  docUrl: "",
  screenshot: "",
  devMode: "proCode",
  npm: {
    package: "@pisell/materials",
    version: "1.0.3",
    exportName: "VirtualKeyboard",
    main: "src/index.tsx",
    destructuring: true,
    subName: "",
  },
  props: [
    {
      title: "others",
      name: "others",
      setter: ["JsonSetter", "VariableSetter"],
    },
  ],
  configure: {
    supports: {
      style: true,
      events: [
        {
          name: "onClick",
          template:
            "onClick(event,${extParams}){\n// 点击时的回调\nconsole.log('onClick', event);}",
        },
      ],
    },
    component: {
      isContainer: true,
    },
  },
};
const snippets: Snippet[] = [
  {
    title: "VirtualKeyboard",
    screenshot: "",
    schema: {
      componentName: "VirtualKeyboard",
      props: {},
    },
  },
];

export default {
  ...VirtualKeyboardMeta,
  snippets,
};
