import { ComponentType } from 'react';

const ServiceWorkerNotSupported: ComponentType<any> = () => (
  <div className="oidc-serviceworker">
    <div className="oidc-serviceworker__container">
      <h1 className="oidc-serviceworker__title">Unable to authenticate on this browser</h1>
      <p className="oidc-serviceworker__content">
        Your browser is not secure enough to make authentication work. Try updating your browser or
        use a newer browser.
      </p>
    </div>
  </div>
);

export default ServiceWorkerNotSupported;
