How to pass the scene view from one tsx to another tsx component in the react environment please?

487
1
04-06-2021 05:46 AM
JyothiMarruru
New Contributor

How to pass the view to the other tsx components (widgets)? Tried like the below. Could you let us know the best way please?

 

JyothiMarruru_0-1617713150452.png

 

0 Kudos
1 Reply
ReneRubalcava
Frequent Contributor

This looks like a typing issue. You want to type the reference as HTMLDivElement and everything should work as expected.

ReneRubalcava_0-1617907394787.png