I'm working on a perspective component, and I'd like to be able to use a property with a path to a perspective view so that users can dynamically override the default view. How would I go about doing this in the REACT component, and the properties.json file in the common scope so that I get the view-picker?
Basically, I'm looking to implement something similar to your popups property on the map component.
For the JSON editor support, you just need to specify a
view-path in your schema:
"description": "Path to the view that will be used as the display for the control.",
At the JSX/React level, you embed a
@inductiveautomation/perspective-client... which I'm not sure if you have access to? I don't know off the top of my head the publishing situation for our TS libs.
But, in theory:
containerContent = (