import { inputPlaceholder } from "../_utils/defaultSchema";

export default [
  {
    title: '子域名输入',
    screenshot: require('./__screenshots__/subdomain.png'),
    schema: {
      componentName: 'FormItemInput.Subdomain',
      title: '子域名输入',
      props: {
        placeholder: inputPlaceholder,
        rootDomain:'xzero',
        extra:  {
          type: 'i18n',
          en: 'Can only contain lowercase letters (a-z), numbers (0-9) and hyphens (-)  ',
          'zh-CN': '只能使用小写字母(a-z)、数字(0-9)和连字符(-) ',
          'zh-HK': '只能使用小寫字母(a-z)、數字(0-9)和連字符(-) ',
        },
        typeobj: {
          type: 'subdomain',
          enabled: true,
        },
        allowClear: true,
      },
    },
  },
];
