@@ -4,6 +4,7 @@ exports[`grid list renders correctly 1`] = `
44<FlatList
55 ItemSeparatorComponent = { [Function ]}
66 animationDuration = { 500 }
7+ animationInitialBackgroundColor = " #FFFFFF"
78 contentContainerStyle = { false }
89 data = {
910 Array [
@@ -31,6 +32,8 @@ exports[`grid list renders correctly 1`] = `
3132 onEndReachedThreshold = { 2 }
3233 renderItem = { [Function ]}
3334 scrollEventThrottle = { 50 }
35+ separatorBorderColor = " #FFFFFF"
36+ separatorBorderWidth = { 0 }
3437 showAnimation = { false }
3538 showsVerticalScrollIndicator = { false }
3639 updateCellsBatchingPeriod = { 50 }
@@ -42,11 +45,95 @@ exports[`grid list renders showAnimation 1`] = `
4245<FlatList
4346 ItemSeparatorComponent = { [Function ]}
4447 animationDuration = { 500 }
48+ animationInitialBackgroundColor = " #FFFFFF"
49+ contentContainerStyle = { false }
50+ data = {
51+ Array [
52+ Object {
53+ " id" : 1 ,
54+ " thumbnail" : Object {
55+ " uri" : " https://..." ,
56+ },
57+ },
58+ Object {
59+ " id" : 2 ,
60+ " thumbnail" : Object {
61+ " uri" : " https://..." ,
62+ },
63+ },
64+ ]
65+ }
66+ disableVirtualization = { false }
67+ horizontal = { false }
68+ initialNumToRender = { 10 }
69+ itemStyle = { Object {}}
70+ keyExtractor = { [Function ]}
71+ maxToRenderPerBatch = { 10 }
72+ numColumns = { 3 }
73+ onEndReachedThreshold = { 2 }
74+ renderItem = { [Function ]}
75+ scrollEventThrottle = { 50 }
76+ separatorBorderColor = " #FFFFFF"
77+ separatorBorderWidth = { 0 }
78+ showAnimation = { true }
79+ showsVerticalScrollIndicator = { false }
80+ updateCellsBatchingPeriod = { 50 }
81+ windowSize = { 21 }
82+ />
83+ ` ;
84+
85+ exports [` grid list renders showAnimation with duration and initialBackground setted 1` ] = `
86+ <FlatList
87+ ItemSeparatorComponent = { [Function ]}
88+ animationDuration = { 1000 }
89+ animationInitialBackgroundColor = " beige"
90+ contentContainerStyle = { false }
91+ data = {
92+ Array [
93+ Object {
94+ " id" : 1 ,
95+ " thumbnail" : Object {
96+ " uri" : " https://..." ,
97+ },
98+ },
99+ Object {
100+ " id" : 2 ,
101+ " thumbnail" : Object {
102+ " uri" : " https://..." ,
103+ },
104+ },
105+ ]
106+ }
107+ disableVirtualization = { false }
108+ horizontal = { false }
109+ initialNumToRender = { 10 }
110+ itemStyle = { Object {}}
111+ keyExtractor = { [Function ]}
112+ maxToRenderPerBatch = { 10 }
113+ numColumns = { 3 }
114+ onEndReachedThreshold = { 2 }
115+ renderItem = { [Function ]}
116+ scrollEventThrottle = { 50 }
117+ separatorBorderColor = " #FFFFFF"
118+ separatorBorderWidth = { 0 }
119+ showAnimation = { true }
120+ showsVerticalScrollIndicator = { false }
121+ updateCellsBatchingPeriod = { 50 }
122+ windowSize = { 21 }
123+ />
124+ ` ;
125+
126+ exports [` grid list renders showSeparator 1` ] = `
127+ <FlatList
128+ ItemSeparatorComponent = { [Function ]}
129+ animationDuration = { 500 }
130+ animationInitialBackgroundColor = " #FFFFFF"
45131 contentContainerStyle = {
46132 Object {
47- " borderBottomWidth" : 5 ,
133+ " borderBottomWidth" : 0 ,
48134 " borderColor" : " #FFFFFF" ,
49- " borderTopWidth" : 5 ,
135+ " borderRightWidth" : 0 ,
136+ " borderTopWidth" : 0 ,
50137 }
51138 }
52139 data = {
@@ -75,21 +162,25 @@ exports[`grid list renders showAnimation 1`] = `
75162 onEndReachedThreshold = { 2 }
76163 renderItem = { [Function ]}
77164 scrollEventThrottle = { 50 }
78- showAnimation = { true }
165+ separatorBorderColor = " #FFFFFF"
166+ separatorBorderWidth = { 0 }
167+ showAnimation = { false }
79168 showsVerticalScrollIndicator = { false }
80169 updateCellsBatchingPeriod = { 50 }
81170 windowSize = { 21 }
82171/>
83172` ;
84173
85- exports [` grid list renders showSeparator 1` ] = `
174+ exports [` grid list renders showSeparator with border and width setted 1` ] = `
86175<FlatList
87176 ItemSeparatorComponent = { [Function ]}
88177 animationDuration = { 500 }
178+ animationInitialBackgroundColor = " #FFFFFF"
89179 contentContainerStyle = {
90180 Object {
91181 " borderBottomWidth" : 5 ,
92- " borderColor" : " #FFFFFF" ,
182+ " borderColor" : " tomato" ,
183+ " borderRightWidth" : 5 ,
93184 " borderTopWidth" : 5 ,
94185 }
95186 }
@@ -119,6 +210,8 @@ exports[`grid list renders showSeparator 1`] = `
119210 onEndReachedThreshold = { 2 }
120211 renderItem = { [Function ]}
121212 scrollEventThrottle = { 50 }
213+ separatorBorderColor = " tomato"
214+ separatorBorderWidth = { 5 }
122215 showAnimation = { false }
123216 showsVerticalScrollIndicator = { false }
124217 updateCellsBatchingPeriod = { 50 }
0 commit comments