Closed
Description
Hi! If I wrap a component for which I have set a ref, how can I reference the 'original' component?
e.g., with...
const I13nInput = createI13nNode(MyCustomInput);
<I13nInput ref="someRef" />
...refs.someRef
now points to the I13nInput
component and not to the 'underlying' MyCustomInput
component. It seems to me the only way around this is if this was possible:
<I13nComponent>
<MyCustomInput ref="someRef" />
</I13nComponent>
Or am I missing something?
Thanks for your help!
Metadata
Metadata
Assignees
Labels
No labels