import React from "react";
import { Flex, Text, Icon } from "@netdata/netdata-ui";
import Pill from "../../../header/pill";
import Anchor from "./anchor";
const Node = ({ hostname, url, status }) => {
    return (React.createElement(Anchor, { href: url, justifyContent: "between", padding: [0, 0, 0, 2] },
        React.createElement(Flex, { alignItems: "center", gap: 2 },
            React.createElement(Icon, { name: "node", color: "bright" }),
            React.createElement(Text, { color: "bright", truncate: true }, hostname)),
        React.createElement(Pill, { background: status ? "success" : "border", color: "bright", round: 10 }, status ? "Live" : "Off")));
};
export default Node;
//# sourceMappingURL=node.js.map