How to pass the view to the other tsx components (widgets)? Tried like the below. Could you let us know the best way please?
This looks like a typing issue. You want to type the reference as HTMLDivElement and everything should work as expected.