File tree 2 files changed +8
-1
lines changed
2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 26
26
"dependencies" : {
27
27
"@plotly/dash-component-plugins" : " ^1.2.0" ,
28
28
"ramda" : " ^0.26.1" ,
29
- "react-vtk-js" : " ^1.5.1 "
29
+ "react-vtk-js" : " ^1.10.0 "
30
30
},
31
31
"devDependencies" : {
32
32
"@babel/core" : " ^7.5.4" ,
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ import { View as VtkItem } from '../AsyncReactVTK';
10
10
* - `cameraPosition`: [0, 0, 1]
11
11
* - `cameraViewUp`: [0, 1, 0]
12
12
* - `cameraParallelProjection`: false
13
+ * - `showOrientationAxes`: true
13
14
*/
14
15
export default function View ( props ) {
15
16
return < React . Suspense fallback = { null } > < VtkItem { ...props } /> </ React . Suspense > ;
@@ -62,6 +63,7 @@ View.defaultProps = {
62
63
shift : true ,
63
64
} ,
64
65
] ,
66
+ showOrientationAxes : true ,
65
67
} ;
66
68
67
69
View . propTypes = {
@@ -142,4 +144,9 @@ View.propTypes = {
142
144
PropTypes . arrayOf ( PropTypes . node ) ,
143
145
PropTypes . node ,
144
146
] ) ,
147
+
148
+ /**
149
+ * Show/Hide orientation axes.
150
+ */
151
+ showOrientationAxes : PropTypes . bool ,
145
152
} ;
You can’t perform that action at this time.
0 commit comments