Select to view content in your preferred language

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

553
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
Honored 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