Debian Codegraph @

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

raw
1 import { __rest } from "tslib";
2 import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3 import styles from '@patternfly/react-styles/css/components/Hint/hint.mjs';
4 import { css } from '@patternfly/react-styles';
5 export const Hint = (_a) => {
6 var { children, className, actions, hasNoActionsOffset = false } = _a, props = __rest(_a, ["children", "className", "actions", "hasNoActionsOffset"]);
7 return (_jsxs("div", Object.assign({ className: css(styles.hint, className) }, props, { children: [actions && (_jsx("div", { className: css(styles.hintActions, hasNoActionsOffset && styles.modifiers.noOffset), children: actions })), children] })));
8 };
9 Hint.displayName = 'Hint';
10 //# sourceMappingURL=Hint.js.map