import React from 'react'; import Authenticator from './Authenticator'; import type { WithAuthenticatorOptions } from './types'; export default function withAuthenticator( Component: React.ComponentType, options: WithAuthenticatorOptions = {} ): (props: Props) => React.JSX.Element { return function WrappedWithAuthenticator(props: Props) { return ( ); }; }