import React from "react";
import { H3 } from "@netdata/netdata-ui";
import { withSubMenu } from "../subMenu";
export const ChartSubMenuTitle = ({ title, ...rest }) => title ? (React.createElement(H3, Object.assign({ color: "text" }, rest), title)) : null;
export const ChartSubMenuTitleContainer = withSubMenu(ChartSubMenuTitle, ({ title }) => ({ title }));
//# sourceMappingURL=title.js.map