import { createCompHooks } from "../../defines/createCompHooks";
import { PageForm } from "./PageForm";

export { Component } from "./component";

export const options = {
  name: "页面",
  thumbnail: require("@/modules/editor/assets/icons/container.svg"),
};

export const { createComp, useCompData } = createCompHooks({
  value: {},
  children: {
    default: () => [] as string[],
  },
  layout: {
    size: [750, 800],
    background: {
      color: "#ffffff",
    },
  },
});

export const Form = PageForm;
