Debian Codegraph @

node/@patternfly/react-core/dist/js/components/Popover/PopoverHeaderText.js

raw
1 "use strict";
2 Object.defineProperty(exports, "__esModule", { value: true });
3 exports.PopoverHeaderText = void 0;
4 const tslib_1 = require("tslib");
5 const jsx_runtime_1 = require("react/jsx-runtime");
6 const react_styles_1 = require("@patternfly/react-styles");
7 const popover_1 = tslib_1.__importDefault(require("@patternfly/react-styles/css/components/Popover/popover"));
8 const PopoverHeaderText = (_a) => {
9 var { children, className, headingLevel } = _a, props = tslib_1.__rest(_a, ["children", "className", "headingLevel"]);
10 const HeadingLevel = headingLevel;
11 return ((0, jsx_runtime_1.jsx)(HeadingLevel, Object.assign({ className: (0, react_styles_1.css)(popover_1.default.popoverTitleText, className) }, props, { children: children })));
12 };
13 exports.PopoverHeaderText = PopoverHeaderText;
14 exports.PopoverHeaderText.displayName = 'PopoverHeaderText';
15 //# sourceMappingURL=PopoverHeaderText.js.map