import React from 'react';
import { classesForElement } from '@universal-login/commons';
var classesForInput = classesForElement('input', 'input');
export var 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.createElement("input", { id: id, className: classesForInput(className), value: value, onChange: onChange, type: type || 'text', autoFocus: autoFocus, placeholder: placeholder, spellCheck: checkSpelling, autoCapitalize: 'off', onFocus: onFocus }));
};
export default Input;
//# sourceMappingURL=Input.js.map