How can i implement @itwin/tree-widget-react #69
-
I am trying to implement tree-widget from https://www.npmjs.com/package/@itwin/tree-widget-react public provideWidgets(_stageId: string, _stageUsage: string, location: StagePanelLocation, _section?: StagePanelSection , IModelConnection?: IModelConnection): ReadonlyArray {
return widgets; |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
@aruniverse any idea how this can be done ? |
Beta Was this translation helpful? Give feedback.
-
Hi @aruniverse ,
But I am getting error: |
Beta Was this translation helpful? Give feedback.
-
@aruniverse, |
Beta Was this translation helpful? Give feedback.
Please review what is mentioned in the usage instructions.
Here is a running example you can use for reference, https://github.com/iTwin/viewer/blob/master/packages/templates/cra-template-web-viewer/template/src/App.tsx#L179-L214