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

const PageMeta: ComponentMetadata = {
  componentName: "Page",
  title: "Page",
  docUrl: "",
  screenshot: "",
  devMode: "proCode",
  npm: {
    package: "@pisell/materials",
    version: "1.0.11",
    exportName: "Page",
    main: "src/index.tsx",
    destructuring: true,
    subName: "",
  },
  configure: {
    props: [
      {
        name: "theme",
        title: { label: "主题定制", tip: "主题定制 ｜ theme" },
        propType: "object",
        setter: "JsonSetter",
      },
    ],
    supports: {
      style: true,
      className: true,
    },
    component: {
      isContainer: true,
      isPage: true,
    },
  },
};
const snippets: Snippet[] = [
  {
    title: "Page",
    screenshot: "",
    schema: {
      componentName: "Page",
      props: {

      },
    },
  },
];

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