File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed
Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change 1+ import { View } from 'react-native' ;
2+ import React , { Component } from 'react' ;
3+
4+ const ARGroup = class extends Component {
5+ render ( ) {
6+ return < View > { this . props . children } </ View > ;
7+ }
8+ } ;
9+
10+ module . exports = ARGroup ;
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ import ARCapsule from './components/ARCapsule';
1919import ARPlane from './components/ARPlane' ;
2020import ARText from './components/ARText' ;
2121import ARModel from './components/ARModel' ;
22+ import ARGroup from './components/ARGroup' ;
2223
2324ARKit . Box = ARBox ;
2425ARKit . Sphere = ARSphere ;
@@ -31,6 +32,7 @@ ARKit.Capsule = ARCapsule;
3132ARKit . Plane = ARPlane ;
3233ARKit . Text = ARText ;
3334ARKit . Model = ARModel ;
35+ ARKit . Group = ARGroup ;
3436
3537module . exports = {
3638 ARKit,
@@ -46,4 +48,5 @@ module.exports = {
4648 ARPlane,
4749 ARText,
4850 ARModel,
51+ ARGroup,
4952} ;
You can’t perform that action at this time.
0 commit comments