how do I get the name of the component passed as Outlet?
I'm using react-location for routing, and I'm passing some components as children to a this
and inside of shared layout I need to know which component I'm passing in
sharedLayout component.and inside of shared layout I need to know which component I'm passing in
props.children. not necessarily the name of the function.