Here is the React component https://codesandbox.io/s/sketch-map-srsr6 but now I am struggling to include a screenshot feature like this https://developers.arcgis.com/javascript/latest/sample-code/sceneview-screenshot/index.html any advice?