@keycloakify/keycloak-admin-ui
Version:
Repackaged Keycloak Admin UI
6 lines • 533 B
JavaScript
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
import { ExternalLinkAltIcon } from "@patternfly/react-icons";
export const FormattedLink = ({ title, href, isInline, ...rest }) => {
return (_jsxs("a", { href: href, target: "_blank", rel: "noreferrer noopener", className: isInline ? "pf-m-link pf-m-inline" : "", ...rest, children: [title ? title : href, " ", (href === null || href === void 0 ? void 0 : href.startsWith("http")) && _jsx(ExternalLinkAltIcon, {})] }));
};
//# sourceMappingURL=FormattedLink.js.map