@@ -165,6 +165,111 @@ exports[`NestedListView renders with NestedRow 1`] = `
165165</View >
166166` ;
167167
168+ exports [` NestedListView renders with children as objects 1` ] = `
169+ <View >
170+ <RCTScrollView
171+ data = {
172+ Array [
173+ Object {
174+ " children" : Object {
175+ " child1" : Object {
176+ " children" : Object {
177+ " child1" : Object {
178+ " children" : Object {},
179+ " name" : " Sub Child 1" ,
180+ },
181+ " child2" : Object {
182+ " children" : Object {
183+ " children" : Object {},
184+ " name" : " Sample" ,
185+ },
186+ " name" : " Sub Child 2" ,
187+ },
188+ },
189+ " name" : " Main Child 1" ,
190+ },
191+ " child2" : Object {
192+ " children" : Object {
193+ " child1" : Object {
194+ " children" : Object {},
195+ " name" : " Sub Child 1" ,
196+ },
197+ " child2" : Object {
198+ " children" : Object {},
199+ " name" : " Sub Child 2" ,
200+ },
201+ },
202+ " name" : " Main Child 2" ,
203+ },
204+ },
205+ " id" : " 1" ,
206+ " name" : " Main Parent" ,
207+ },
208+ ]
209+ }
210+ disableVirtualization = { false }
211+ getItem = { [Function ]}
212+ getItemCount = { [Function ]}
213+ horizontal = { false }
214+ initialNumToRender = { 10 }
215+ invertStickyHeaders = { undefined }
216+ keyExtractor = { [Function ]}
217+ maxToRenderPerBatch = { 10 }
218+ numColumns = { 1 }
219+ onContentSizeChange = { [Function ]}
220+ onEndReachedThreshold = { 2 }
221+ onLayout = { [Function ]}
222+ onMomentumScrollEnd = { [Function ]}
223+ onScroll = { [Function ]}
224+ onScrollBeginDrag = { [Function ]}
225+ onScrollEndDrag = { [Function ]}
226+ renderItem = { [Function ]}
227+ scrollEventThrottle = { 50 }
228+ stickyHeaderIndices = { Array []}
229+ updateCellsBatchingPeriod = { 50 }
230+ viewabilityConfigCallbackPairs = { Array []}
231+ windowSize = { 21 }
232+ >
233+ <View >
234+ <View
235+ onLayout = { [Function ]}
236+ style = { null }
237+ >
238+ <View >
239+ <View
240+ accessibilityComponentType = { undefined }
241+ accessibilityLabel = { undefined }
242+ accessibilityTraits = { undefined }
243+ accessible = { true }
244+ hitSlop = { undefined }
245+ nativeID = { undefined }
246+ onLayout = { undefined }
247+ onResponderGrant = { [Function ]}
248+ onResponderMove = { [Function ]}
249+ onResponderRelease = { [Function ]}
250+ onResponderTerminate = { [Function ]}
251+ onResponderTerminationRequest = { [Function ]}
252+ onStartShouldSetResponder = { [Function ]}
253+ style = { undefined }
254+ testID = { undefined }
255+ >
256+ <View >
257+ <Text
258+ accessible = { true }
259+ allowFontScaling = { true }
260+ ellipsizeMode = " tail"
261+ >
262+ Main Parent
263+ </Text >
264+ </View >
265+ </View >
266+ </View >
267+ </View >
268+ </View >
269+ </RCTScrollView >
270+ </View >
271+ ` ;
272+
168273exports [` NestedListView renders with nested arrays 1` ] = `
169274<View >
170275 <RCTScrollView
0 commit comments