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

const BookingDepositMeta: ComponentMetadata = {
  "componentName": "BookingDeposit",
  "title": "BookingDeposit",
  "docUrl": "",
  "screenshot": "",
  "devMode": "proCode",
  "npm": {
    "package": "@pisell/private-materials",
    "version": "1.0.4",
    "exportName": "BookingDeposit",
    "main": "src/index.ts",
    "destructuring": true,
    "subName": ""
  },
  "configure": {
    "props": [
      {
        "title": {
          "label": {
            "type": "i18n",
            "en-US": "style",
            "zh-CN": "style"
          }
        },
        "name": "style",
        "setter": {
          "componentName": "MixedSetter",
          "isRequired": true,
          "props": {}
        }
      },
      {
        "title": {
          "label": {
            "type": "i18n",
            "en-US": "globalState",
            "zh-CN": "globalState"
          }
        },
        "name": "globalState",
        "setter": ["JsonSetter", "VariableSetter"],
      },
      {
        "title": {
          "label": {
            "type": "i18n",
            "en-US": "setGlobalState",
            "zh-CN": "setGlobalState"
          }
        },
        "name": "setGlobalState",
        "setter": {
          "componentName": "FunctionSetter",
          "isRequired": true
        }
      },
      {
        "title": {
          "label": {
            "type": "i18n",
            "en-US": "setState",
            "zh-CN": "setState"
          }
        },
        "name": "setState",
        "setter": {
          "componentName": "FunctionSetter",
          "isRequired": true
        }
      },
    ],
    "supports": {},
    "component": {}
  }
};
const snippets: Snippet[] = [
  {
    "title": "BookingDeposit",
    "screenshot": "",
    "schema": {
      "componentName": "BookingDeposit",
      "props": {}
    }
  }
];

export default {
  ...BookingDepositMeta,
  snippets
};
