@netdata/charts
Version:
Netdata frontend SDK and chart utilities
19 lines • 539 B
JavaScript
import React from "react";
import { TextSmall, Flex } from "@netdata/netdata-ui";
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
var Info = function Info(_ref) {
var title = _ref.title,
children = _ref.children;
return /*#__PURE__*/_jsxs(Flex, {
gap: 2,
children: [/*#__PURE__*/_jsx(TextSmall, {
color: "textDescription",
children: title
}), /*#__PURE__*/_jsx(Flex, {
as: TextSmall,
background: "elementBackground",
children: children
})]
});
};
export default Info;