Debian Codegraph @

node/@patternfly/react-core/dist/js/components/Hint/Hint.js

raw
1 "use strict";
2 Object.defineProperty(exports, "__esModule", { value: true });
3 exports.Hint = void 0;
4 const tslib_1 = require("tslib");
5 const jsx_runtime_1 = require("react/jsx-runtime");
6 const hint_1 = tslib_1.__importDefault(require("@patternfly/react-styles/css/components/Hint/hint"));
7 const react_styles_1 = require("@patternfly/react-styles");
8 const Hint = (_a) => {
9 var { children, className, actions, hasNoActionsOffset = false } = _a, props = tslib_1.__rest(_a, ["children", "className", "actions", "hasNoActionsOffset"]);
10 return ((0, jsx_runtime_1.jsxs)("div", Object.assign({ className: (0, react_styles_1.css)(hint_1.default.hint, className) }, props, { children: [actions && ((0, jsx_runtime_1.jsx)("div", { className: (0, react_styles_1.css)(hint_1.default.hintActions, hasNoActionsOffset && hint_1.default.modifiers.noOffset), children: actions })), children] })));
11 };
12 exports.Hint = Hint;
13 exports.Hint.displayName = 'Hint';
14 //# sourceMappingURL=Hint.js.map