Hi,
i am trying to get javascript variable (which provide the size of the screen dynamically) to use in dash for adjusting the sizes of various components. For this I created a custom react component. Couple of questions here.
-
Can we do it in any other way like pulling the javascript variable into dash without using the component.
-
Can we create react component in such a way that the output of the component is just a tuple value (height X width for screensize) with any html Div items.
The react component I created is not working and showing uncaught reference error proptypes not defined error.
Please let me know if you need any further information.
regards,
Abhishek