"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
var react_1 = __importDefault(require("react"));
var commons_1 = require("@universal-login/commons");
var classesForInput = commons_1.classesForElement('input', 'input');
exports.Input = function (_a) {
    var onChange = _a.onChange, placeholder = _a.placeholder, autoFocus = _a.autoFocus, onFocus = _a.onFocus, className = _a.className, id = _a.id, type = _a.type, value = _a.value, _b = _a.checkSpelling, checkSpelling = _b === void 0 ? true : _b;
    return (react_1.default.createElement("input", { id: id, className: classesForInput(className), value: value, onChange: onChange, type: type || 'text', autoFocus: autoFocus, placeholder: placeholder, spellCheck: checkSpelling, autoCapitalize: 'off', onFocus: onFocus }));
};
exports.default = exports.Input;
//# sourceMappingURL=Input.js.map