My goal is to add a new button to the Sketch widget. I'm starting with the provided sketch.tsx view code. My Angular project is using ES modules so I need to convert all of the imports to @arcgis/core. I've found several cases where declarations do not exist in the code sample below.
Is there an available Sketch.tsx available using ES Modules?
Is there a way around this problem?
// Example original import
import Graphic from "esri/widgets/../Graphic";
// Converted ES module import :)
import Graphic from "@arcgis/core/Graphic"
// These example imports have no ES equivalents :(
import Selector from "esri/widgets/support/Selector";
import { VNode } from "esri/widgets/support/interfaces";
import SketchMessages from "esri/widgets/Sketch/t9n/Sketch"
import { CreateTool } from "esri/widgets/Sketch/support/interfaces";