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

export default [
  {
    title: '电话号码输入',
    screenshot: require('./__screenshots__/phone.png'),
    schema: {
      title: '电话号码输入',
      componentName: 'FormItemInput.Phone',
      props: {
        placeholder: inputPlaceholder,
        type: 'tel',
        allowClear: true,
        typeobj: {
          type: 'phone',
          enabled: true,
          message:{
            type: 'i18n',
            en: 'Please enter a valid phone number',
            'zh-CN': '请输入正确的电话号码 ',
            'zh-HK': '請輸入正確的電話號碼',
          }
        },
      },
    },
  },
];
