"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"));
exports.TransferRecipient = function (_a) {
    var onChange = _a.onChange, errors = _a.errors;
    return (react_1.default.createElement(react_1.default.Fragment, null,
        react_1.default.createElement("div", { className: "transfer-recipient-row" },
            react_1.default.createElement("label", { className: "transfer-recipient-label", htmlFor: "input-recipient" }, "Recipient")),
        react_1.default.createElement("div", { className: "transfer-recipient-input-wrapper" },
            react_1.default.createElement("div", { className: "transfer-recipient-input-content" },
                react_1.default.createElement("input", { id: "input-recipient", className: "transfer-recipient-input", onChange: function (event) { return onChange(event.target.value); } })),
            errors.length > 0 && react_1.default.createElement("div", { className: "hint transfer-recipient-hint" }, errors[0]))));
};
//# sourceMappingURL=TransferRecipient.js.map