import React from "react";
import { Button, News as AgentNews } from "@netdata/netdata-ui";
import Tooltip from "../../tooltips";
const News = () => {
    return (React.createElement(AgentNews, { app: "agent" }, ({ toggle, upToDate }) => (React.createElement(Tooltip, { content: "News", align: "bottom", plain: true },
        React.createElement(Button, { "data-testid": "header-news-button", themeType: "dark", name: "news", icon: "insights", flavour: "borderless", neutral: upToDate, warning: !upToDate, onClick: toggle })))));
};
export default News;
//# sourceMappingURL=index.js.map