Hi- I am trying to use a custom svg icon in lightning component with Workspace API. I have to use the Icon in setTabIcon of workspace API. According to the documentation it accepts the "SLDS Icon Keys", so does that mean we cannot use custom icons from static resource. And if it is possible to use icons from static resource in Javascript then please let me know how.
This is what I am trying to achieve:
workspaceAPI.setTabIcon({ tabId: focusedTabId, icon: "Icon from Static Resource" });