"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.formInputPropTypes = void 0;

var _propTypes = _interopRequireDefault(require("prop-types"));

var _types = require("../../../types");

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }

var formInputPropTypes = {
  iconType: _propTypes["default"].oneOf(['lock', 'error']),
  iconPosition: _propTypes["default"].oneOf(['left', 'right']),
  type: _propTypes["default"].oneOf(['date', 'email', 'number', 'text', 'password']),
  placeholder: _propTypes["default"].string,
  value: _propTypes["default"].string,
  disabled: _propTypes["default"].bool,
  error: _propTypes["default"].oneOfType([_types.translatedContentPropType, _propTypes["default"].bool, _propTypes["default"].object, _propTypes["default"].arrayOf(_propTypes["default"].string)]),
  focusOnMount: _propTypes["default"].bool,
  large: _propTypes["default"].bool,
  onChange: _propTypes["default"].func.isRequired,
  onFocus: _propTypes["default"].func,
  onBlur: _propTypes["default"].func,
  onRef: _propTypes["default"].func,
  inputMode: _propTypes["default"].string
};
exports.formInputPropTypes = formInputPropTypes;