Debian Codegraph @

node/@patternfly/react-core/dist/js/components/LoginPage/LoginFooterItem.js

raw
1 "use strict";
2 Object.defineProperty(exports, "__esModule", { value: true });
3 exports.LoginFooterItem = void 0;
4 const tslib_1 = require("tslib");
5 const jsx_runtime_1 = require("react/jsx-runtime");
6 const react_1 = require("react");
7 const LoginFooterItem = (_a) => {
8 var { children = null, href = '#', target = '_blank' } = _a, props = tslib_1.__rest(_a, ["children", "href", "target"]);
9 return (0, react_1.isValidElement)(children) ? (children) : ((0, jsx_runtime_1.jsx)("a", Object.assign({ target: target, href: href }, props, { children: children })));
10 };
11 exports.LoginFooterItem = LoginFooterItem;
12 exports.LoginFooterItem.displayName = 'LoginFooterItem';
13 //# sourceMappingURL=LoginFooterItem.js.map