import React from 'react';
import { useHistory } from 'react-router';
export var SubDialogHeader = function (_a) {
    var ensName = _a.ensName;
    var history = useHistory();
    return (React.createElement("div", { className: "udashboard-subheader" },
        React.createElement("button", { onClick: function () { return history.goBack(); }, className: "udashboard-back-btn" }),
        React.createElement("p", { className: "udashboard-ens" }, ensName)));
};
//# sourceMappingURL=SubDialogHeader.js.map