UNPKG

@patternfly/react-core

Version:

This library provides a set of common React components for use with the PatternFly reference implementation.

16 lines 1.22 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.LoginMainFooterLinksItem = void 0; const tslib_1 = require("tslib"); const React = tslib_1.__importStar(require("react")); const login_1 = tslib_1.__importDefault(require("@patternfly/react-styles/css/components/Login/login")); const react_styles_1 = require("@patternfly/react-styles"); const LoginMainFooterLinksItem = (_a) => { var { children = null, href = '', target = '', className = '', linkComponent = 'a', linkComponentProps } = _a, props = tslib_1.__rest(_a, ["children", "href", "target", "className", "linkComponent", "linkComponentProps"]); const LinkComponent = linkComponent; return (React.createElement("li", Object.assign({ className: react_styles_1.css(login_1.default.loginMainFooterLinksItem, className) }, props), React.createElement(LinkComponent, Object.assign({ className: react_styles_1.css(login_1.default.loginMainFooterLinksItemLink), href: href, target: target }, linkComponentProps), children))); }; exports.LoginMainFooterLinksItem = LoginMainFooterLinksItem; exports.LoginMainFooterLinksItem.displayName = 'LoginMainFooterLinksItem'; //# sourceMappingURL=LoginMainFooterLinksItem.js.map