index.ts 464 B

12345678910111213141516171819
  1. import { Dict_Imgs } from "@/dict";
  2. import { createAttrsForm } from "../../defines/createAttrsForm";
  3. import { createOptions } from "../../defines/createOptions";
  4. export { Component } from "./component";
  5. export const { options, useCompData } = createOptions({
  6. name: "文本",
  7. thumbnail: Dict_Imgs.Default,
  8. value: "请输入内容",
  9. });
  10. export const Form = createAttrsForm([
  11. {
  12. label: "文本",
  13. dataIndex: "value",
  14. component: "Input",
  15. },
  16. ]);