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