import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
import { CopyButton } from '../copy-button';
import { NodejsInspectorCopyButton } from '../nodejs-inspector';
export function ToolButtonsGroup(param) {
    let { error, debugInfo } = param;
    return /*#__PURE__*/ _jsxs("span", {
        children: [
            /*#__PURE__*/ _jsx(CopyButton, {
                "data-nextjs-data-runtime-error-copy-stack": true,
                actionLabel: "Copy error stack",
                successLabel: "Copied",
                content: (error == null ? void 0 : error.stack) || '',
                disabled: !(error == null ? void 0 : error.stack)
            }),
            /*#__PURE__*/ _jsx(NodejsInspectorCopyButton, {
                devtoolsFrontendUrl: debugInfo == null ? void 0 : debugInfo.devtoolsFrontendUrl
            })
        ]
    });
}

//# sourceMappingURL=ToolButtonsGroup.js.map