All Downloads are FREE. Search and download functionalities are using the official Maven repository.

theme.keycloak.v2.account.resources.content.page-not-found.PageNotFound.js Maven / Gradle / Ivy

There is a newer version: 26.0.5
Show newest version
/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

import * as React from "../../../keycloak.v2/web_modules/react.js";
import { WarningTriangleIcon } from "../../../keycloak.v2/web_modules/@patternfly/react-icons.js";
import { withRouter } from "../../../keycloak.v2/web_modules/react-router-dom.js";
import { Msg } from "../../widgets/Msg.js";
import EmptyMessageState from "../../widgets/EmptyMessageState.js";
class PgNotFound extends React.Component {
  constructor(props) {
    super(props);
  }
  render() {
    return /*#__PURE__*/React.createElement(EmptyMessageState, {
      icon: WarningTriangleIcon,
      messageKey: "pageNotFound"
    }, /*#__PURE__*/React.createElement(Msg, {
      msgKey: "invalidRoute",
      params: [this.props.location.pathname]
    }));
  }
}
;
export const PageNotFound = withRouter(PgNotFound);
//# sourceMappingURL=PageNotFound.js.map




© 2015 - 2024 Weber Informatics LLC | Privacy Policy