@patternfly/react-core
Version:
This library provides a set of common React components for use with the PatternFly reference implementation.
15 lines • 908 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.PopoverHeaderText = void 0;
const tslib_1 = require("tslib");
const jsx_runtime_1 = require("react/jsx-runtime");
const react_styles_1 = require("@patternfly/react-styles");
const popover_1 = tslib_1.__importDefault(require("@patternfly/react-styles/css/components/Popover/popover"));
const PopoverHeaderText = (_a) => {
var { children, className, headingLevel } = _a, props = tslib_1.__rest(_a, ["children", "className", "headingLevel"]);
const HeadingLevel = headingLevel;
return ((0, jsx_runtime_1.jsx)(HeadingLevel, Object.assign({ className: (0, react_styles_1.css)(popover_1.default.popoverTitleText, className) }, props, { children: children })));
};
exports.PopoverHeaderText = PopoverHeaderText;
exports.PopoverHeaderText.displayName = 'PopoverHeaderText';
//# sourceMappingURL=PopoverHeaderText.js.map
;