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

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