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

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

export default {
  ...LoginMeta,
  snippets
};
