import * as React from 'react';
import { DismissibleAlert } from '../components/DismissibleAlert';
/**
 * A global alert telling all users that due to Docker for Mac, site performance
 * will be degraded.
 */
export const DockerForMacAlert = ({ className = '' }) => (React.createElement(DismissibleAlert, { partialStorageKey: "DockerForMac", className: `alert-animated-bg alert-warning docker-for-mac-alert d-flex align-items-center ${className}` },
    React.createElement("span", { className: "docker-for-mac-alert__left" }, "It looks like you're using Docker for Mac. Due to known issues related to Docker for Mac's file system access, search performance and cloning repositories on Sourcegraph will be much slower."),
    React.createElement("span", { className: "docker-for-mac-alert__right" },
        React.createElement("a", { target: "_blank", href: "https://about.sourcegraph.com/docs" }, "Run Sourcegraph on a different platform or deploy it to a server"),
        ' ',
        "for much faster performance.")));
//# sourceMappingURL=DockerForMacAlert.js.map