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

const LoginMeta: ComponentMetadata = {
  "componentName": "Login",
  "title": "Login",
  "docUrl": "",
  "screenshot": "",
  "devMode": "proCode",
  "npm": {
    "package": "@pisell/private-materials",
    "version": "1.0.1",
    "exportName": "Login",
    "main": "src/index.ts",
    "destructuring": true,
    "subName": ""
  },
  "configure": {
    "props": [
      {
        "title": {
          "label": {
            "type": "i18n",
            "en-US": "Title",
            "zh-CN": "标题"
          }
        },
        "name": "title",
        "setter": {
          "componentName": "StringSetter",
          "isRequired": true,
          "initialValue": "Login"
        }
      }
    ],
    "supports": {
      "style": true,
      "events": [{
        "name": "onLogin"
      }]
    },
    "component": {}
  }
};
const snippets: Snippet[] = [
  {
    "title": "Login",
    "screenshot": "",
    "schema": {
      "componentName": "Login",
      "props": {}
    }
  }
];

export default {
  ...LoginMeta,
  snippets
};
