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