Debian Codegraph @

node/@patternfly/react-core/dist/js/components/Tabs/TabTitleIcon.js

raw
1 "use strict";
2 Object.defineProperty(exports, "__esModule", { value: true });
3 exports.TabTitleIcon = 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 tabs_1 = tslib_1.__importDefault(require("@patternfly/react-styles/css/components/Tabs/tabs"));
8 const TabTitleIcon = (_a) => {
9 var { children, className = '' } = _a, props = tslib_1.__rest(_a, ["children", "className"]);
10 return ((0, jsx_runtime_1.jsx)("span", Object.assign({ className: (0, react_styles_1.css)(`${tabs_1.default.tabs}__item-icon`, className) }, props, { children: children })));
11 };
12 exports.TabTitleIcon = TabTitleIcon;
13 exports.TabTitleIcon.displayName = 'TabTitleIcon';
14 //# sourceMappingURL=TabTitleIcon.js.map