@netdata/charts
Version:
Netdata frontend SDK and chart utilities
18 lines • 554 B
JavaScript
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 ChartType = function ChartType() {
var chartType = useAttributeValue("chartType");
return /*#__PURE__*/_jsx(Row, {
title: "Chart type",
color: "key",
"data-testid": "chartDetails-chartType",
children: /*#__PURE__*/_jsx(TextSmall, {
color: "textDescription",
children: chartType
})
});
};
export default ChartType;