Passing props to component from layout

I'm trying to pass some client side data from layout to route component, how do I pass this in? I tried props on
<Component>
but that was giving me errors
Was this page helpful?