import React from 'react';
import { DEFAULT_GAS_PRICE } from '@universal-login/commons';
export var ManageDevices = function (_a) {
    var devices = _a.devices, deployedWallet = _a.deployedWallet;
    return (React.createElement("div", null, devices.map(function (_a, index) {
        var contractAddress = _a.contractAddress, publicKey = _a.publicKey;
        return (React.createElement("div", { key: index },
            "device ",
            index,
            " : ",
            publicKey,
            React.createElement("button", { onClick: function () { return deployedWallet.removeKey(publicKey, { gasPrice: DEFAULT_GAS_PRICE }); }, className: "settings-btn" }, "Remove this device")));
    })));
};
export default ManageDevices;
//# sourceMappingURL=ManageDevices.js.map