I have a passthrough component that renders two children elements in a specific layout. I want to grab refs to these two child elements. Currently the way that I am rendering these two child elements are just by
props.children[0]
props.children[0]
and
props.children[1]
props.children[1]
, but that doesn't give me a slot to stick a couple of