File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 33// Copyright (c) vis.gl contributors 
44
55import  type  { WidgetPlacement ,  WidgetProps }  from  '@deck.gl/core' ; 
6- import  type  { ViewStateMap ,  ViewOrViews }  from  '@deck.gl/core/src/lib/view-manager ' ; 
6+ import  type  { ViewStateMap ,  View }  from  '@deck.gl/core' ; 
77import  { render }  from  'preact' ; 
88import  { Widget }  from  '@deck.gl/core' ; 
99import  { IconButton }  from  './lib/components/icon-button' ; 
1010
11+ /** @note  Mirrors an internal calss in deck.gl/core. We can easily redefine it here */ 
12+ type  ViewOrViews  =  View  |  View [ ]  |  null ; 
13+ 
1114/** Properties for the ResetViewWidget */ 
1215export  type  ResetViewWidgetProps < ViewsT  extends  ViewOrViews  =  null >  =  WidgetProps  &  { 
1316  /** Widget positioning within the view. Default 'top-left'. */ 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments