import * as React from 'react' import { useDoormanUser } from '../hooks/use-doorman-user' import { ComponentType } from 'react' import type { HeadlessFirebaseUser } from '../types/headless-types' export function withDoormanUser

( Component: ComponentType

) { const WithUser = (props: P) => { const user = useDoormanUser() return } return WithUser }