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

const RuleSettingMeta: ComponentMetadata = {
  "componentName": "RuleSetting",
  "title": "RuleSetting",
  "docUrl": "",
  "screenshot": "",
  "devMode": "proCode",
  "npm": {
    "package": "@pisell/private-materials",
    "version": "1.0.4",
    "exportName": "RuleSetting",
    "main": "src/index.ts",
    "destructuring": true,
    "subName": ""
  },
  "configure": {
    "props": [
      {
        "title": {
          "label": {
            "type": "i18n",
            "en-US": "value",
            "zh-CN": "value"
          }
        },
        "name": "value",
        "setter": ["JsonSetter", "VariableSetter"],
      },
      {
        "title": {
          "label": {
            "type": "i18n",
            "en-US": "onChange",
            "zh-CN": "onChange"
          }
        },
        "name": "onChange",
        "setter": ["JsonSetter", "VariableSetter"],
      },
      {
        "title": {
          "label": {
            "type": "i18n",
            "en-US": "className",
            "zh-CN": "className"
          }
        },
        "name": "className",
        "setter": ["StringSetter", "VariableSetter"],
      },
    ],
    "supports": {
      "style": true,
    },
    "component": {}
  }
};
const snippets: Snippet[] = [
  {
    "title": "RuleSetting",
    "screenshot": "",
    "schema": {
      "componentName": "RuleSetting",
      "props": {}
    }
  }
];

export default {
  ...RuleSettingMeta,
  snippets
};
