UNPKG

@netdata/charts

Version:

Netdata frontend SDK and chart utilities

18 lines 535 B
import React from "react"; import { TextSmall } from "@netdata/netdata-ui"; import { useAttributeValue } from "../provider"; import Row from "./row"; import { jsx as _jsx } from "react/jsx-runtime"; var Source = function Source() { var nodeName = useAttributeValue("nodeName"); return /*#__PURE__*/_jsx(Row, { title: "Source", color: "key", "data-testid": "chartDetails-source", children: /*#__PURE__*/_jsx(TextSmall, { color: "textDescription", children: nodeName }) }); }; export default Source;