import React from "react";
export const WorkspaceButton = ({ title, onMouseDown, onClick, type }) => (React.createElement("div", { title: title, className: "action-button workspace-action-button", role: "button", onMouseDown: onMouseDown, onClick: onClick, tabIndex: 0, onKeyDown: (e) => {
        if (e.key === " " || e.key === "Enter") {
            onClick();
        }
    } },
    React.createElement("i", { className: `workspace-action-button-icon ${type === "import" ? "ff-import" : "ff-export"}`, "aria-hidden": "true" }),
    React.createElement("div", { className: "workspace-action-button-label" }, type === "import" ? "Import" : "Export")));
//# sourceMappingURL=WorkspaceButton.js.map